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