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 | 95450418bfb020d86e3423c3b8a899e741165719 (patch) | |
tree | 6ff4dbb00806105ab0bee5914f84acbe90dc3bef /bin | |
parent | Highlight diff lines without lading space as Keyword (diff) | |
download | src-95450418bfb020d86e3423c3b8a899e741165719.tar.gz src-95450418bfb020d86e3423c3b8a899e741165719.zip |
Teach hi how to underline in IRC
Diffstat (limited to 'bin')
-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 b4b4903b..38810d51 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, |