added VT100 NEL.
This commit is contained in:
parent
a744f2f897
commit
8898ecc34a
6
st.c
6
st.c
@ -856,10 +856,14 @@ tputc(char c) {
|
||||
tmoveto(term.c.x+1, term.c.y);
|
||||
term.esc = 0;
|
||||
break;
|
||||
case 'D':
|
||||
case 'D': /* XXX: CUP (VT100) or IND (VT52) ... */
|
||||
tmoveto(term.c.x-1, term.c.y);
|
||||
term.esc = 0;
|
||||
break;
|
||||
case 'E': /* NEL -- Next line */
|
||||
tnewline();
|
||||
term.esc = 0;
|
||||
break;
|
||||
case 'M': /* RI -- Reverse index */
|
||||
if(term.c.y == term.top)
|
||||
tinsertblankline(1);
|
||||
|
Loading…
Reference in New Issue
Block a user