texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5729] don't call terminal_unprep_terminal for SIGWINCH


From: Gavin D. Smith
Subject: [5729] don't call terminal_unprep_terminal for SIGWINCH
Date: Sun, 03 Aug 2014 13:31:16 +0000

Revision: 5729
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5729
Author:   gavin
Date:     2014-08-03 13:31:14 +0000 (Sun, 03 Aug 2014)
Log Message:
-----------
don't call terminal_unprep_terminal for SIGWINCH

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/signals.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-08-03 12:50:28 UTC (rev 5728)
+++ trunk/ChangeLog     2014-08-03 13:31:14 UTC (rev 5729)
@@ -1,5 +1,12 @@
 2014-08-03  Gavin Smith  <address@hidden>
 
+       * info/signals.c (redisplay_after_signal)
+       (info_signal_proc) <SIGWINCH>: Don't call terminal_unprep_terminal and
+       terminal_prep_terminal.  This prevents flickering between the "normal"
+       and "alternate" screens in an xterm when resizing.
+
+2014-08-03  Gavin Smith  <address@hidden>
+
        * info/search.c (regexp_search): Take WINDOW argument to save results
        of a search.  All callers updated.
        * info/window.h (WINDOW): New fields 'matches', 'match_count'.

Modified: trunk/info/signals.c
===================================================================
--- trunk/info/signals.c        2014-08-03 12:50:28 UTC (rev 5728)
+++ trunk/info/signals.c        2014-08-03 13:31:14 UTC (rev 5729)
@@ -174,11 +174,7 @@
 void
 reset_info_window_sizes (void)
 {
-  terminal_goto_xy (0, 0);
-  fflush (stdout);
-  terminal_unprep_terminal ();
   terminal_get_screen_size ();
-  terminal_prep_terminal ();
   display_initialize_display (screenwidth, screenheight);
   window_new_screen_size (screenwidth, screenheight);
   redisplay_after_signal ();
@@ -302,9 +298,6 @@
        if (sig == SIGUSR1)
          old_signal_handler = &old_USR1;
 #endif
-       terminal_goto_xy (0, 0);
-       fflush (stdout);
-       terminal_unprep_terminal (); /* needless? */
 
         /* This seems risky: what if we receive a (real) signal before
            the next line is reached? */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]