diff options
author | Roberto E. Vargas Caballero | 2014-06-20 09:51:18 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero | 2014-07-08 23:32:25 +0200 |
commit | f5356d018505963a72d1a5bb505c69b2cf32792b (patch) | |
tree | 23759e978eef6c1753f4c69ed78c99484c92bc45 | |
parent | bcbaf5d9beb72f29d228d103634d648ca28fb48d (diff) | |
download | st-f5356d018505963a72d1a5bb505c69b2cf32792b.tar.gz st-f5356d018505963a72d1a5bb505c69b2cf32792b.tar.xz st-f5356d018505963a72d1a5bb505c69b2cf32792b.zip |
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.
-rw-r--r-- | st.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |