[hackers] [st] added VT100 NEL. || Aur?lien Aptel

From: <hg_AT_suckless.org>
Date: Sun, 21 Feb 2010 14:00:10 +0000 (UTC)

changeset: 75:88ff5d441bb1
tag: tip
user: Aur?lien Aptel <aurelien.aptel_AT_gmail.com>
date: Sun Feb 21 14:59:32 2010 +0100
files: st.c
description:
added VT100 NEL.

diff -r 91327bda63a3 -r 88ff5d441bb1 st.c
--- a/st.c Sun Feb 21 14:39:31 2010 +0100
+++ b/st.c Sun Feb 21 14:59:32 2010 +0100
@@ -856,10 +856,14 @@
                                 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);
Received on Sun Feb 21 2010 - 14:00:10 UTC

This archive was generated by hypermail 2.2.0 : Sun Feb 21 2010 - 14:12:08 UTC