summaryrefslogtreecommitdiff
blob: 456b9f32c9dd70f135a4810f2ee49a05ea4f1a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/charproc.c
+++ b/charproc.c
@@ -1897,6 +1897,19 @@
 				 case 7:
 					term->flags |= INVERSE;
 					break;
+				 case 22:	/* Reset bold.		*/
+						/* ECMA-ly incorrect	*/
+					term->flags &= ~BOLD;
+					break;
+				 case 24:
+					term->flags &= ~UNDERLINE;
+					break;
+				 case 25:	/* Blink, really.	*/
+					term->flags &= ~BOLD;
+					break;
+				 case 27:
+					term->flags &= ~INVERSE;
+					break;
 #ifdef KTERM_COLOR
 				 case 30:
 				 case 31: