[vte] emulation: use correct range for DECRQCRA
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] emulation: use correct range for DECRQCRA
- Date: Thu, 4 Nov 2021 20:26:11 +0000 (UTC)
commit c695b5e9f308cbb9e0d8dfcc9af924e177ba2c6d
Author: Luis Javier Merino MorĂ¡n <ninjalj gmail com>
Date: Thu Nov 4 19:14:58 2021 +0100
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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]