From 95450418bfb020d86e3423c3b8a899e741165719 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 30 Mar 2020 20:07:09 -0400 Subject: Teach hi how to underline in IRC --- bin/hi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') 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, -- cgit 1.4.1