pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639f16d
)
added VT100 NEL.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 21 Feb 2010 13:59:32 +0000
(14:59 +0100)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 21 Feb 2010 13:59:32 +0000
(14:59 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
c360900
..
8bbb1a5
100644
(file)
--- a/
st.c
+++ b/
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);