mirror of https://github.com/MidnightCommander/mc
Ticket #1582: fixed screen flickering on updates.
Partial revert of 4e40f6e98f
.
Don't call tty_touch_screen() for each screen repaint.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
ee10da919d
commit
e3684f3379
|
@ -47,7 +47,7 @@
|
|||
|
||||
#include "global.h"
|
||||
|
||||
#include "../src/tty/tty.h" /* LINES */
|
||||
#include "../src/tty/tty.h" /* LINES, tty_touch_screen() */
|
||||
#include "../src/tty/key.h" /* ALT() macro */
|
||||
#include "../src/tty/win.h" /* do_enter_ca_mode() */
|
||||
|
||||
|
@ -892,6 +892,7 @@ history_cmd (void)
|
|||
void swap_cmd (void)
|
||||
{
|
||||
swap_panels ();
|
||||
tty_touch_screen ();
|
||||
repaint_screen ();
|
||||
}
|
||||
|
||||
|
|
|
@ -587,7 +587,6 @@ void
|
|||
repaint_screen (void)
|
||||
{
|
||||
do_refresh ();
|
||||
tty_touch_screen ();
|
||||
tty_refresh ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue