From c695b5e9f308cbb9e0d8dfcc9af924e177ba2c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Javier=20Merino=20Mor=C3=A1n?= Date: Thu, 4 Nov 2021 19:14:58 +0100 Subject: emulation: use correct range for DECRQCRA Apparently at some point ranges where changed from end-inclusive to end-exclusive, and DECRQCRA was not updated accordingly. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2523 --- src/vteseq.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vteseq.cc b/src/vteseq.cc index b00d7abc..3945fcac 100644 --- a/src/vteseq.cc +++ b/src/vteseq.cc @@ -3580,7 +3580,7 @@ Terminal::DECRQCRA(vte::parser::Sequence const& seq) checksum = checksum_area(top -1 + m_screen->insert_delta, left - 1, bottom - 1 + m_screen->insert_delta, - right - 1); + right); reply(seq, VTE_REPLY_DECCKSR, {id}, "%04X", checksum); #endif /* VTE_DEBUG */ -- cgit v1.2.1