Improve SIGWINCH handling

This commit is contained in:
Přemysl Eric Janouch 2017-06-03 23:03:38 +02:00
parent b7975dac8e
commit a1436318b6
Signed by: p
GPG Key ID: B715679E3A361BE6

View File

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