diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-01-27 16:32:22 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-01-27 16:32:22 +0100 |
commit | cf2e9ff95d5daf0456c9304eb07b55cae184ea05 (patch) | |
tree | e8d45be2e020b6c5d1c0a02bfbd031a1673ec859 /src/gui | |
parent | c31f05859a9ef521004ceb1a2a051055318ddbc5 (diff) | |
download | weechat-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.c | 2 |
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 */ |