a998bcf207
* Use the Bold(1) SGR parameter in only one case -- White-on-Black. * Use the 0x9X and 0x10X SGR parameters to set intense/bright colors for both foreground and background. Detailed changes: * DkGray background: - Previously, this background was handled identically to the Black background. - Now it is treated like the non-grayscale colors, and the foreground/background are set exactly. * Black background: - LtGray foreground is unchanged: default text colors - White foreground is unchanged: text is bolded - DkGray is fixed: instead of concealing the text, set the foreground to DkGray, falling back to LtGray. * LtGray background: - Previously, this background was handled exactly the same way as the White background. - Now it is treated like any other non-grayscale color. * White background: - Black foreground is unchanged: only an Invert is output. - LtGray: previously, the text was concealed. Now it is handled like Black, and only an Invert is output. - DkGray: previously only Invert was output. Now DkGray is also output. - White is effectively unchanged; it is still concealed if possible. Also: set the console colors to LtGray-on-Black on startup. The heuristic makes little sense with other colors. Fixes https://github.com/rprichard/winpty/issues/39 |
||
---|---|---|
.. | ||
Agent.cc | ||
Agent.h | ||
AgentAssert.cc | ||
AgentAssert.h | ||
ConsoleFont.cc | ||
ConsoleFont.h | ||
ConsoleInput.cc | ||
ConsoleInput.h | ||
ConsoleLine.cc | ||
ConsoleLine.h | ||
Coord.cc | ||
Coord.h | ||
DsrSender.h | ||
EventLoop.cc | ||
EventLoop.h | ||
main.cc | ||
Makefile | ||
NamedPipe.cc | ||
NamedPipe.h | ||
SmallRect.cc | ||
SmallRect.h | ||
Terminal.cc | ||
Terminal.h | ||
Win32Console.cc | ||
Win32Console.h | ||
winpty_wcsnlen.cc | ||
winpty_wcsnlen.h |