-- 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: 56e0ab6632c8ca63f1f77f4727e99bc1dc22c7d8:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 56e0ab6632c8ca63f1f77f4727e99bc1dc22c7d8
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Wed Nov 5 16:21:18 2008 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index ecf787d97a514b6a2fcb56d1c420a26669c52b4c..

index ..295f54c1a1b7dffbbe3ee68f0043c7267ae70e58 100644

--- a/Changes
+++ b/Changes
@@ -19,7 +19,6 @@ WISH: load system-wide config file even if we don't have one
 WISH: look into XAddConnectionWatch, does anybody need that?
 DUMB: support tex fonts

-TODO: cursor restore/rendition restore on rmcup
 	- NOTICE: this release updates terminfo/termcap.
 	- the aterm code now frees the as visual and image manager objects
           when a window was closed.
@@ -61,7 +60,8 @@ TODO: cursor restore/rendition restore on rmcup
         - new perl extension "overlay-osc", for status displays and the like.
         - fix some minor cursor drawing issues with overlays by allowing
           overlays to modify screen flags (to disable the cursor themselves).
-        - work around programs not restoring rstyle before rmcup.
+        - work around programs not restoring rstyle before rmcup
+          (analysed by Miroslav Lichvar).

 9.05 Sun Jun 15 20:09:20 CEST 2008
 	- new option --cd/chdir to set the starting working directory.
diff --git a/src/command.C b/src/command.C

index 070d54c65fc38be920157eb60dfec8ccaab21bda..

index ..9a99c29a9cec90f71e35a97a731f85f5307b936b 100644

--- a/src/command.C
+++ b/src/command.C
@@ -3753,15 +3753,17 @@ rxvt_term::process_terminal_mode (int mode, int priv UNUSED, unsigned int nargs,
               scr_change_screen (state);
               break;
             case 1049:		/* secondary screen w/ clearing first */
-              if (state)
-                scr_cursor (SAVE);
+              if (option (Opt_secondaryScreen))
+                if (state)
+                  scr_cursor (SAVE);

               scr_change_screen (state);

-              if (state)
-                scr_erase_screen (2);
-              else
-                scr_cursor (RESTORE);
+              if (option (Opt_secondaryScreen))
+                if (state)
+                  scr_erase_screen (2);
+                else
+                  scr_cursor (RESTORE);
               break;
             default:
               break;

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

-- Response ended

-- Page fetched on Sun Jun 2 10:06:25 2024