diff options
author | June McEnroe <june@causal.agency> | 2020-03-30 20:07:09 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-30 20:07:09 -0400 |
commit | 1e9bc9e68fc2bb498e7318ad585410ddc9e361d9 (patch) | |
tree | f0cf8d04daba1b049ab214baf1f9745587513ef9 | |
parent | Highlight diff lines without lading space as Keyword (diff) | |
download | src-1e9bc9e68fc2bb498e7318ad585410ddc9e361d9.tar.gz src-1e9bc9e68fc2bb498e7318ad585410ddc9e361d9.zip |
Teach hi how to underline in IRC
Diffstat (limited to '')
-rw-r--r-- | bin/hi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/hi.c b/bin/hi.c index 488961bf..b59a88e9 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -444,11 +444,14 @@ enum IRC { IRCBold = 0x02, IRCColor = 0x03, IRCMonospace = 0x11, + IRCUnderline = 0x1F, }; static const enum IRC SGRIRC[] = { [SGRBoldOn] = IRCBold, [SGRBoldOff] = IRCBold, + [SGRUnderlineOn] = IRCUnderline, + [SGRUnderlineOff] = IRCUnderline, [SGRBlack] = IRCBlack, [SGRRed] = IRCRed, [SGRGreen] = IRCGreen, |