Windows build number: 10.0.18985.1 (Sorry for being outdated, I haven't been able to update to a more recent Insider build)
Windows Terminal version (if applicable): N/A
Any other software? No
Open cmd.exe compiled from this repo or built in Windows.
The titlebar is black, like in the current stable Windows.
The titlebar isn't black:

The window is active in this screenshot
Funny enough -- you filed this shortly after I saw an uptick in log entries (in a local dev build) about this API failing. Thanks!
The API used is technically undocumented and got moved to WCA_USEDARKMODECOLORS in the also undocumented SetWindowCompositionAttribute API, IIRC.
IMO it should be documented, because other apps might also want a dark titlebar, especially if they have a built-in dark theme because the white titlebar becomes an eye sore.
Hey! The fix for this went out in Windows in the Insider channel's Fast Ring with build 19013.
The API used is technically undocumented and got moved to
WCA_USEDARKMODECOLORSin the also undocumentedSetWindowCompositionAttributeAPI, IIRC.
Thank you! Can confirm that such change works.
IMO it should be documented, because other apps might also want a dark titlebar, especially if they have a built-in dark theme because the white titlebar becomes an eye sore.
Exactly.
We don't disagree with you.
Finally got to update my insider build after windows update kept refusing, can confirm it works (third party apps are still broken so they'll have to move to SetWindowCompositionAttribute).
The code here also hasn't been updated https://github.com/microsoft/terminal/blob/9b92986b49bed8cc41fde4d6ef080921c41e6d9e/src/interactivity/win32/windowtheme.cpp#L47
Most helpful comment
We don't disagree with you.