Browse Source

Add SUB and CAN control codes

These control codes reset any escape sequence already initialised.
---
 st.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
master
Roberto E. Vargas Caballero 12 years ago
parent
commit
fbfa1f83eb
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      st.c

+ 5
- 2
st.c View File

@ -1816,8 +1816,11 @@ tputc(char *c, int len) {
return;
case '\016': /* XXX: SO */
case '\017': /* XXX: SI */
case '\032': /* XXX: SUB */
case '\030': /* XXX: CAN */
break;
case '\032': /* SUB */
case '\030': /* CAN */
csireset();
return;
default:
/* case '\005': ENQ (IGNORED) */
/* case '\000': NUL (IGNORED) */


Loading…
Cancel
Save