Browse Source

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.
master
Roberto E. Vargas Caballero 10 years ago
parent
commit
f5356d0185
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      st.c

+ 4
- 1
st.c View File

@ -2401,7 +2401,10 @@ tcontrolcode(uchar ascii) {
case 0177: /* DEL (IGNORED) */ case 0177: /* DEL (IGNORED) */
return; return;
case 0x84: /* TODO: IND */ 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 0x88: /* TODO: HTS */
case 0x8d: /* TODO: RI */ case 0x8d: /* TODO: RI */
case 0x8e: /* TODO: SS2 */ case 0x8e: /* TODO: SS2 */


Loading…
Cancel
Save