Point to the MSDN blog post about 24-bit color support in cmd.exe.
Change-Id: Ic23f1d6ee35333ab4775970455f71315925f4cc6 Reviewed-on: https://code.wireshark.org/review/25200 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
a6a5b552ec
commit
0655931f60
|
@ -50,9 +50,13 @@ print_color_escape(FILE *fh, const color_t *fg, const color_t *bg)
|
|||
* enough.
|
||||
*
|
||||
* The console in Windows 10 builds 14931 and later supports SGR RGB
|
||||
* sequences. We might want to print those instead depending on the
|
||||
* version of Windows or just remove the SetConsoleTextAttribute
|
||||
* calls and only print SGR sequences.
|
||||
* sequences:
|
||||
*
|
||||
* https://blogs.msdn.microsoft.com/commandline/2016/09/22/24-bit-color-in-the-windows-console/
|
||||
*
|
||||
* We might want to print those instead depending on the version of
|
||||
* Windows or just remove the SetConsoleTextAttribute calls and only
|
||||
* print SGR sequences.
|
||||
*/
|
||||
if (fg) {
|
||||
if (((fg->red >> 8) & 0xff) >= 0x80)
|
||||
|
|
Loading…
Reference in New Issue