summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-01-27 16:32:22 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-01-27 16:32:22 +0100
commitcf2e9ff95d5daf0456c9304eb07b55cae184ea05 (patch)
treee8d45be2e020b6c5d1c0a02bfbd031a1673ec859 /src/gui
parentc31f05859a9ef521004ceb1a2a051055318ddbc5 (diff)
downloadweechat-cf2e9ff95d5daf0456c9304eb07b55cae184ea05.zip
Fix infinite loop when running WeeChat for first time: force whole screen refresh when starting
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/gui-curses-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c
index 843ae66e4..c427a6cda 100644
--- a/src/gui/curses/gui-curses-main.c
+++ b/src/gui/curses/gui-curses-main.c
@@ -236,6 +236,8 @@ gui_main_loop ()
hook_fd_keyboard = hook_fd (NULL, STDIN_FILENO, 1, 0, 0,
&gui_keyboard_read_cb, NULL);
+ gui_window_refresh_needed = 1;
+
while (!weechat_quit)
{
/* reload config, if SIGHUP reveived */