From 36d2e7427eb57e26bfe9c27f9f2211248cf0f850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 17 Sep 2022 11:56:03 +0200 Subject: core: fix wrong terminal title on terminal resize (closes #1702) --- src/gui/curses/gui-curses-window.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/curses/gui-curses-window.c') 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 (); -- cgit v1.2.3