diff options
author | Aurélien Aptel | 2010-02-21 14:59:32 +0100 |
---|---|---|
committer | Aurélien Aptel | 2010-02-21 14:59:32 +0100 |
commit | 7cdaf130b17e4991da9bb3d8d1341e0092474a73 (patch) | |
tree | 2c70646a7ecc676441d67554488e32963241384a | |
parent | 639f16d200eee5e297187c582afd9fd2e3e8ef57 (diff) | |
download | st-7cdaf130b17e4991da9bb3d8d1341e0092474a73.tar.gz st-7cdaf130b17e4991da9bb3d8d1341e0092474a73.tar.xz st-7cdaf130b17e4991da9bb3d8d1341e0092474a73.zip |
added VT100 NEL.
-rw-r--r-- | st.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |