aboutsummaryrefslogtreecommitdiffstats
path: root/epan/print_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/print_stream.c')
-rw-r--r--epan/print_stream.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/epan/print_stream.c b/epan/print_stream.c
index 5d06858277..d8193cca5f 100644
--- a/epan/print_stream.c
+++ b/epan/print_stream.c
@@ -72,12 +72,27 @@ print_color_escape(FILE *fh, const color_t *fg, const color_t *bg)
*
* https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
*
- * documents all the escape sequences the Console supports.
+ * documents all the escape sequences the Console supports. The current
+ * version says that 24-bit color is supported using Operating System
+ * Command (OSC) control sequences and that the ODA versions with 24-bit
+ * color are supported but select the closest color from the 16-color
+ * palette.
*
* The console in Windows 10 builds 14931 (a preview version of Windows 10
* version 1703) and later supports SGR RGB sequences:
*
- * https://blogs.msdn.microsoft.com/commandline/2016/09/22/24-bit-color-in-the-windows-console/
+ * https://devblogs.microsoft.com/commandline/24-bit-color-in-the-windows-console/
+ *
+ * That page says:
+ *
+ * Thanks to our ability to run Linux apps and scripts using our new
+ * Bash on Ubuntu on Windows environment atop the Windows Subsystem
+ * for Linux (WSL), we can use some Linux scripts and tools to
+ * demonstrate the Console's new 24-bit color support:
+ *
+ * which suggests that, with that version, whatever escape sequences
+ * work on UN*Xes also work on Windows, so maybe they support full
+ * 24-bit color with the ODA versions.
*
* We might want to print those instead depending on the version of
* Windows or just remove the SetConsoleTextAttribute calls and only