From 1e9bc9e68fc2bb498e7318ad585410ddc9e361d9 Mon Sep 17 00:00:00 2001 From: "C. 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 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, -- cgit 1.4.1