-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: dd89452a7c0dccb9958f89fecb39e31ddfb05379:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit dd89452a7c0dccb9958f89fecb39e31ddfb05379
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Tue Nov 1 00:04:46 2011 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index 5dbe3a3f36c80f235ea4d284c5614f7950d84a03..

index ..ecaf3f20cc9344aa65adee498f72d9a302251832 100644

--- a/Changes
+++ b/Changes
@@ -29,6 +29,9 @@ TODO: split ROW into a ROW_fast (0..total*2-1) and ROW macros?
           styles built on top of the new operations and scale/position
           settings. Old operations are still parsed for backward
           compatibility (Emanuele Giaquinta).
+        - fix a crash caused by selection_check not properly resetting
+          out-of-bounds mark values (can happen when extending a selection
+          while scrolling up in curses programs for example).
         - fix memory leak when urgentOnBell is set (patch by Nathaniel
           Filardo).
         - fix a redraw bug that occurs when a bg pixmap is set and the
diff --git a/src/screen.C b/src/screen.C

index 6fd9680a8b4fffc87cf8a282fe842ddb90cd77c4..

index ..f785afa16b4f9f832d4f1c389b2c164fb6672044 100644

--- a/src/screen.C
+++ b/src/screen.C
@@ -2719,7 +2719,7 @@ rxvt_term::selection_check (int check_more) NOTHROW
       || (check_more == 4     /* screen width change */
           && (selection.beg.row != selection.end.row
               || selection.end.col > ncol)))
-    CLEAR_SELECTION ();
+    CLEAR_ALL_SELECTION ();
 }

 /* ------------------------------------------------------------------------- */

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:35:18 2024