summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2004-01-20 02:04:04 +0000
committerMichael Jennings <mej@kainx.org>2004-01-20 02:04:04 +0000
commit020ab11571a4776839d658c46b1f21f78ff9c49a (patch)
tree4ca946672626a9ff00b0aff43946b4f787d88839 /src/term.c
parent8e26d978240646dd282ddb5faabf6322a0fb5cf2 (diff)
downloadeterm-020ab11571a4776839d658c46b1f21f78ff9c49a.tar.gz
Mon Jan 19 21:02:30 2004 Michael Jennings (mej)
Patch from David Lloyd <dmlloyd@tds.net> for overstrike support. SVN revision: 8577
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index bf33859..c28138f 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1597,23 +1597,37 @@ process_sgr_mode(unsigned int nargs, int arg[])
case 1:
scr_rendition(1, RS_Bold);
break;
+ case 2:
+ scr_rendition(1, RS_Dim);
+ break;
+ case 3:
+ scr_rendition(1, RS_Italic);
+ break;
case 4:
scr_rendition(1, RS_Uline);
break;
case 5:
scr_rendition(1, RS_Blink);
break;
+ case 6:
+ scr_rendition(1, RS_Overscore);
+ break;
case 7:
scr_rendition(1, RS_RVid);
break;
+ case 8:
+ scr_rendition(1, RS_Conceal);
+ break;
case 22:
scr_rendition(0, RS_Bold);
+ scr_rendition(0, RS_Dim);
break;
case 24:
scr_rendition(0, RS_Uline);
break;
case 25:
scr_rendition(0, RS_Blink);
+ scr_rendition(0, RS_Overscore);
break;
case 27:
scr_rendition(0, RS_RVid);