[vte/vte-0-66] emulation: use correct range for DECRQCRA



commit b252bc26e695501b4799c2d2ec89e9a1c91a6685
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
    (cherry picked from commit c695b5e9f308cbb9e0d8dfcc9af924e177ba2c6d)

 src/vteseq.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 0a45c9b4..335cd5a2 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -3544,7 +3544,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]