st

simple terminal

git clone https://9o.is/git/st.git

commit 67f83598b30893c8f338d53ce56d243cf4eb8088
parent ac7fe5f5421a54f54883ca25b9f3c5d8b4d2b0c9
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 20 Jun 2014 09:51:18 +0200

Add 8 bit version of NEL

NEL version for 7 bits environments already was implemented in st.
This patch adds the 8 bit version of it.

Diffstat:
Mst.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/st.c b/st.c @@ -2401,7 +2401,10 @@ tcontrolcode(uchar ascii) { case 0177: /* DEL (IGNORED) */ return; case 0x84: /* TODO: IND */ - case 0x85: /* TODO: NEL */ + break; + case 0x85: /* NEL -- Next line */ + tnewline(1); /* always go to first col */ + break; case 0x88: /* TODO: HTS */ case 0x8d: /* TODO: RI */ case 0x8e: /* TODO: SS2 */