This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Can I print colored text in the Lua TextWindow?

0

Is it possible to print colored text in the Wireshark Lua TextWindow?

asked 01 Mar '12, 02:29

Rijith's gravatar image

Rijith
1446
accept rate: 0%

edited 01 Mar '12, 10:37

multipleinterfaces's gravatar image

multipleinte...
1.3k152340


2 Answers:

1

No.
The TextWindow does not expose any functionality to perform text formatting, nor does it simulate a terminal that would accept escape sequences.

answered 01 Mar '12, 10:35

multipleinterfaces's gravatar image

multipleinte...
1.3k152340
accept rate: 12%

0

GTK supports colorizing specific text in a GtkTextView (the actual type you see in Wireshark), but Wireshark Lua does not expose that feature. You have a few options to choose from:

answered 01 Mar '12, 15:47

helloworld's gravatar image

helloworld
3.1k42041
accept rate: 28%