Added {u to the ansi parser for underlining text.

This commit is contained in:
Jake Shasteen 2015-08-15 00:33:57 -04:00
parent 2cdb13143d
commit 7d3ed681ac
2 changed files with 2 additions and 1 deletions

View file

@ -252,6 +252,7 @@ class ANSIParser(object):
(r'{_', ANSI_SPACE), # space
(r'{*', ANSI_INVERSE), # invert
(r'{^', ANSI_BLINK), # blinking text (very annoying and not supported by all clients)
(r'{u', ANSI_UNDERLINE), # underline
(r'{r', hilite + ANSI_RED),
(r'{g', hilite + ANSI_GREEN),