From 2da5aca965215428e803454746ccca3b1c96feb6 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Tue, 24 Mar 2020 14:22:09 +0100 Subject: [PATCH] STREscape: don't trim prematurely (d98c43) --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index bbf63fe..596d6c6 100644 --- 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