summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDave Goodell <dave@goodell.io>2017-04-24 22:14:42 -0700
committerMichael Mann <mmann78@netscape.net>2017-06-11 13:36:06 +0000
commitaffa6f18c87eaf430cc0bf260c54fbfe32976a5f (patch)
treeabd05ecd22df083be93b00183e919ade9ceb5626 /debian
parent5617527ee3831a8012f076b67e2532eeb8b1da2d (diff)
downloadwireshark-affa6f18c87eaf430cc0bf260c54fbfe32976a5f.tar.gz
print_stream: add a new print_line_color() method
This new interface allows printing a line with specified foreground and background colors. The implementation avoids printing escape sequences if the output stream is not a TTY and note that escape sequences are ignored on Windows. This initial implementation relies on relatively modern 24-bit color support which is present in many terminal emulators but may not always display properly on older or simpler emulators. Windows coloring is handled with SetConsoleTextAttribute, which offers a "1-bit" color experience (but it's better than nothing) This commit is a precursor to adding additional coloring to tshark. Bug: 5158 Change-Id: Ib2b9d800095a065a4bb60abe0550862cda5539ec Reviewed-on: https://code.wireshark.org/review/21324 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'debian')
-rw-r--r--debian/libwireshark0.symbols1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/libwireshark0.symbols b/debian/libwireshark0.symbols
index c94939b05b..29fb9eda85 100644
--- a/debian/libwireshark0.symbols
+++ b/debian/libwireshark0.symbols
@@ -1023,6 +1023,7 @@ libwireshark.so.0 libwireshark0 #MINVER#
print_finale@Base 1.12.0~rc1
print_hex_data@Base 1.12.0~rc1
print_line@Base 1.12.0~rc1
+ print_line_color@Base 2.5.0
print_preamble@Base 1.12.0~rc1
print_stream_ps_new@Base 1.12.0~rc1
print_stream_ps_stdio_new@Base 1.12.0~rc1