diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-17 12:30:48 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-17 12:30:48 +0200 |
commit | 62bcf75851fbf10e4b8307ce96592ca8392f78dc (patch) | |
tree | dce2c8fd796955452632f60cefaf9984a4867b66 /src/gui/curses/gui-curses-main.c | |
parent | b0ea4715cae82978eea3c0cd7f71ab9ef8a8623a (diff) | |
download | weechat-62bcf75851fbf10e4b8307ce96592ca8392f78dc.zip |
Fixed refresh problem (empty screen after resizing terminal to very small size, then normal size)
Diffstat (limited to 'src/gui/curses/gui-curses-main.c')
-rw-r--r-- | src/gui/curses/gui-curses-main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index d10740064..282a482ba 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -95,8 +95,9 @@ gui_main_init () gui_infobar = NULL; - gui_ok = ((COLS > GUI_WINDOW_MIN_WIDTH) && (LINES > GUI_WINDOW_MIN_HEIGHT)); - + gui_ok = ((COLS >= GUI_WINDOW_MIN_WIDTH) + && (LINES >= GUI_WINDOW_MIN_HEIGHT)); + refresh (); /* init clipboard buffer */ |