Wrong "bold color" reported if feature is disabled
The optional "Bold color" overrides the default foreground color if SGR 1 bold is set (but SGR 30..38/90..97 foreground color isn't).
Make sure this feature is disabled (its default). Query the bold color using OSC 5;0
:
printf '\e]5;0;?\e\\'
Notice that the response is always black, no matter what color scheme you use. The value is initialized here and is never changed later in that method.
We should report the actually used color (that's the very purpose of these OSC queries: for apps to know how an output will actually show up to the user), i.e. we should report the default foreground color if the "bold color" feature is disabled.
Similarly, for the unsupported "italic color", "underline color" etc. we should always report the actual default foreground.
(Note that xterm is also broken, it reports blue for me.)