summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Javier Merino MorĂ¡n <ninjalj@gmail.com>2021-11-04 19:14:58 +0100
committerChristian Persch <chpe@src.gnome.org>2021-11-04 21:25:24 +0100
commitc695b5e9f308cbb9e0d8dfcc9af924e177ba2c6d (patch)
treea69cf261d47bcbe68e5e282d11aff1e197b6eeba
parentf52c9c23e1862b67679997f404adcd60ee61bbd0 (diff)
downloadvte-c695b5e9f308cbb9e0d8dfcc9af924e177ba2c6d.tar.gz
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
-rw-r--r--src/vteseq.cc2
1 files changed, 1 insertions, 1 deletions
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 */