diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-17 11:56:03 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-17 11:56:03 +0200 |
commit | 36d2e7427eb57e26bfe9c27f9f2211248cf0f850 (patch) | |
tree | 99e317a45e81dcb728713a6653aabf8e23ce0ac6 /src/gui/curses/gui-curses-window.c | |
parent | 0df582c7c1d35a7d97f997258215dca5a26866fc (diff) | |
download | weechat-36d2e7427eb57e26bfe9c27f9f2211248cf0f850.zip |
core: fix wrong terminal title on terminal resize (closes #1702)
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r-- | src/gui/curses/gui-curses-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index a83c3908f..9bb2c63e5 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -2418,6 +2418,10 @@ gui_window_refresh_screen (int full_refresh) refresh (); gui_window_read_terminal_size (); refresh (); + gui_window_set_title ( + (CONFIG_STRING(config_look_window_title) + && CONFIG_STRING(config_look_window_title)[0]) ? + CONFIG_STRING(config_look_window_title) : NULL); } gui_window_refresh_windows (); |