Improve SIGWINCH handling

This commit is contained in:
2017-06-03 23:03:38 +02:00
parent b7975dac8e
commit a1436318b6

View File

@@ -2956,11 +2956,10 @@ app_on_signal_pipe_readable (const struct pollfd *fd, void *user_data)
if (g_winch_received) if (g_winch_received)
{ {
g_winch_received = false;
update_curses_terminal_size (); update_curses_terminal_size ();
app_fix_view_range (); app_fix_view_range ();
app_invalidate (); app_invalidate ();
g_winch_received = false;
} }
} }