From: Roberto E. Vargas Caballero Date: Fri, 20 Jun 2014 07:51:18 +0000 (+0200) Subject: Add 8 bit version of NEL X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=f5356d018505963a72d1a5bb505c69b2cf32792b;p=st.git 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. --- diff --git a/st.c b/st.c index 77ae26e..1162700 100644 --- 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 */