summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/st.c b/st.c
index c360900..8bbb1a5 100644
--- 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);