mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
STREscape: don't trim prematurely (d98c43)
This commit is contained in:
parent
5f311ddc78
commit
2da5aca965
2
st.c
2
st.c
@ -2463,7 +2463,7 @@ tputc(Rune u)
|
||||
if (term.esc&ESC_DCS && strescseq.len == 0 && u == 'q')
|
||||
term.mode |= MODE_SIXEL;
|
||||
|
||||
if (strescseq.len+len >= sizeof(strescseq.buf)-1) {
|
||||
if (strescseq.len+len >= sizeof(strescseq.buf)) {
|
||||
/*
|
||||
* Here is a bug in terminals. If the user never sends
|
||||
* some code to stop the str or esc command, then st
|
||||
|
Loading…
Reference in New Issue
Block a user