aboutsummaryrefslogtreecommitdiffstats
path: root/epan/print_stream.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-08 12:50:23 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-08 20:51:14 +0000
commit0655931f606efc086e8526c7f4a687ac6477686e (patch)
tree4469e32c1a39d146ab846c73d2389eafb2fccb70 /epan/print_stream.c
parenta6a5b552ece22737d04cdd92b05edacc0a3accf6 (diff)
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>
Diffstat (limited to 'epan/print_stream.c')
-rw-r--r--epan/print_stream.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/epan/print_stream.c b/epan/print_stream.c
index f85c87dace..66d9165e8e 100644
--- a/epan/print_stream.c
+++ b/epan/print_stream.c
@@ -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)