Point to the MSDN blog post about 24-bit color support in cmd.exe.
authorGuy Harris <guy@alum.mit.edu>
Mon, 8 Jan 2018 20:50:23 +0000 (12:50 -0800)
committerGuy Harris <guy@alum.mit.edu>
Mon, 8 Jan 2018 20:51:14 +0000 (20:51 +0000)
Change-Id: Ic23f1d6ee35333ab4775970455f71315925f4cc6
Reviewed-on: https://code.wireshark.org/review/25200
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/print_stream.c

index f85c87dace82117a3ea9f253ecf4c7a2d3134555..66d9165e8e322190664e3399d9b350047ac719de 100644 (file)
@@ -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)