commit 2da5aca965215428e803454746ccca3b1c96feb6
parent 5f311ddc7844b5817356b0297bf8b5f5e8087bdc
Author: bakkeby <bakkeby@gmail.com>
Date: Tue, 24 Mar 2020 14:22:09 +0100
STREscape: don't trim prematurely (d98c43)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/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