emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r114597: Fix minor problems in text-mode menu displa


From: Eli Zaretskii
Subject: [Emacs-diffs] trunk r114597: Fix minor problems in text-mode menu display.
Date: Wed, 09 Oct 2013 20:19:14 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114597
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Wed 2013-10-09 23:18:38 +0300
message:
  Fix minor problems in text-mode menu display.
  
   src/term.c (tty_menu_activate): Flush the output stream after
   showing the cursor, and don't mark the frame garbaged at exit from
   the function.  Fixes redisplay glitches when moving from one menu
   to another.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/term.c                     term.c-20091113204419-o5vbwnq5f7feedwu-220
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-10-09 18:50:14 +0000
+++ b/src/ChangeLog     2013-10-09 20:18:38 +0000
@@ -1,3 +1,10 @@
+2013-10-09  Eli Zaretskii  <address@hidden>
+
+       * term.c (tty_menu_activate): Flush the output stream after
+       showing the cursor, and don't mark the frame garbaged at exit from
+       the function.  Fixes redisplay glitches when moving from one menu
+       to another.
+
 2013-10-09  Jan Djärv  <address@hidden>
 
        * nsfns.m (Fns_convert_utf8_nfd_to_nfc): Check input for valid UTF-8

=== modified file 'src/term.c'
--- a/src/term.c        2013-10-08 20:04:40 +0000
+++ b/src/term.c        2013-10-09 20:18:38 +0000
@@ -3428,6 +3428,7 @@
   while (statecount--)
     free_saved_screen (state[statecount].screen_behind);
   tty_show_cursor (tty);       /* turn cursor back on */
+  fflush (tty->output);
 
 /* Clean up any mouse events that are waiting inside Emacs event queue.
      These events are likely to be generated before the menu was even
@@ -3437,7 +3438,6 @@
   discard_mouse_events ();
   if (!kbd_buffer_events_waiting ())
     clear_input_pending ();
-  SET_FRAME_GARBAGED (sf);
   return result;
 }
 


reply via email to

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