Fix SIGWINCH handling
This commit is contained in:
parent
5f207835cc
commit
6a6c7b2496
3
hex.c
3
hex.c
|
@ -1776,11 +1776,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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue