summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/hi.c3
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,