all repos — st @ 5e917ab2874de556de12ce43e9a97300c9c722a2

st (suckless terminal) config

Also clears ESC_START on interrupt characters during sequences.

Otherwise, the rest of the input is interpreted as a new escape
sequence.
For the ESC character, ESC_START is re-set in tcontrolcode.
Colona colona@ycc.fr
commit

5e917ab2874de556de12ce43e9a97300c9c722a2

parent

99fb365aa30e6d9f8fa035f4d2adbc3145fafb00

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.c

@@ -2446,7 +2446,7 @@ if(width == 1 &&

(ascii == '\a' || ascii == 030 || ascii == 032 || ascii == 033 || ISCONTROLC1(unicodep))) { - term.esc &= ~ESC_STR; + term.esc &= ~(ESC_START|ESC_STR); term.esc |= ESC_STR_END; } else if(strescseq.len + len < sizeof(strescseq.buf) - 1) { memmove(&strescseq.buf[strescseq.len], c, len);