diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-01-05 15:40:19 -0800 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-06 14:30:45 +0000 |
commit | a65391f9014acd5cb8e4fe09ef8b2fac4716c024 (patch) | |
tree | dbbd271a21c1b58875db67898272a7b2cb794d08 /doc | |
parent | 29798bb8c931ca6a999bc5fccf14877f6ffcc1fb (diff) |
TShark: Fix color handling on Windows.
Use SetConsoleTextAttribute to reset our colors on Windows. Update the
release notes and man page.
Change-Id: I2bc309787f9c2331324503092bd1c9ae6360eb55
Reviewed-on: https://code.wireshark.org/review/25170
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tshark.pod | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/tshark.pod b/doc/tshark.pod index 9cccc201f2..dad95b6f3d 100644 --- a/doc/tshark.pod +++ b/doc/tshark.pod @@ -1669,11 +1669,12 @@ Change the interface's timestamp method. =item --color -Enable coloring of packets according to standard Wireshark color filters. This -is currently implemented via 24-bit "true color" terminal escape sequences that -are not supported by all terminal emulators. See -L<https://wiki.wireshark.org/ColoringRules> for more information on configuring -color filters. +Enable coloring of packets according to standard Wireshark color +filters. On Windows colors are limited to the standard console +character attribute colors. Other platforms require a terminal that +handles 24-bit "true color" terminal escape sequences. See +L<https://wiki.wireshark.org/ColoringRules> for more information on +configuring color filters. =item --no-duplicate-keys |