1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

Fix "/window refresh" (key ctrl+L): force curses refresh (was broken by previous commit for terminal resize)

This commit is contained in:
Sebastien Helleu
2009-02-26 15:21:32 +01:00
parent a796188fc8
commit 8cc03f939d
9 changed files with 42 additions and 24 deletions
+1 -1
View File
@@ -3334,7 +3334,7 @@ command_window (void *data, struct t_gui_buffer *buffer,
/* refresh screen */
if (string_strcasecmp (argv[1], "refresh") == 0)
{
gui_window_refresh_needed = 1;
gui_window_ask_refresh (2);
return WEECHAT_RC_OK;
}
+2 -2
View File
@@ -252,7 +252,7 @@ config_change_buffer_time_format (void *data, struct t_config_option *option)
gui_chat_time_length = util_get_time_length (CONFIG_STRING(config_look_buffer_time_format));
gui_chat_change_time_format ();
if (gui_ok)
gui_window_refresh_needed = 1;
gui_window_ask_refresh (1);
}
/*
@@ -280,7 +280,7 @@ config_change_read_marker (void *data, struct t_config_option *option)
(void) data;
(void) option;
gui_window_refresh_needed = 1;
gui_window_ask_refresh (1);
}
/*