aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/st.c b/st.c
index c90bed1..19e4379 100644
--- a/st.c
+++ b/st.c
@@ -2431,11 +2431,9 @@ tcontrolcode(uchar ascii) {
2431 term.esc &= ~(ESC_CSI|ESC_ALTCHARSET|ESC_TEST); 2431 term.esc &= ~(ESC_CSI|ESC_ALTCHARSET|ESC_TEST);
2432 term.esc |= ESC_START; 2432 term.esc |= ESC_START;
2433 return; 2433 return;
2434 case '\016': /* SO */ 2434 case '\016': /* SO (LS1 -- Locking shift 1) */
2435 term.charset = 0; 2435 case '\017': /* SI (LS0 -- Locking shift 0) */
2436 return; 2436 term.charset = 1 - (ascii - '\016');
2437 case '\017': /* SI */
2438 term.charset = 1;
2439 return; 2437 return;
2440 case '\032': /* SUB */ 2438 case '\032': /* SUB */
2441 tsetchar(question, &term.c.attr, term.c.x, term.c.y); 2439 tsetchar(question, &term.c.attr, term.c.x, term.c.y);