diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-27 17:19:39 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-27 17:19:39 +0200 |
commit | 01f9bcbaba44b87bd8d59af6c4ee19539cbfe13c (patch) | |
tree | ef736c0dfd19e6491198b7c519fd340d7c6610b6 /src/gui/curses | |
parent | 6fb6fad7e99cc8cfc5b61352f864dcc14e673e5d (diff) | |
download | weechat-01f9bcbaba44b87bd8d59af6c4ee19539cbfe13c.zip |
core: fix bad window size on startup with some terminals like kitty (closes #1769)
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-curses-main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index 12b400cca..bb36c64fa 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -409,7 +409,10 @@ gui_main_loop () /* catch SIGWINCH signal: redraw screen */ if (!weechat_headless) + { + gui_signal_sigwinch_received = 1; signal_catch (SIGWINCH, &gui_main_signal_sigwinch); + } /* hook stdin (read keyboard) */ if (weechat_headless) |