summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/hi.c3
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,