summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/curses/gui-display.c4
-rw-r--r--weechat/src/gui/curses/gui-display.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index d9cf8b988..311b18b4c 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -1370,7 +1370,9 @@ gui_curses_resize_handler ()
}
gui_current_window = old_current_window;
- gui_draw_buffer_input (gui_current_window->buffer, 1);
+ gui_calculate_pos_size (gui_current_window);
+ gui_redraw_buffer (gui_current_window->buffer);
+ //gui_draw_buffer_input (gui_current_window->buffer, 1);
}
/*
diff --git a/weechat/src/gui/curses/gui-display.c b/weechat/src/gui/curses/gui-display.c
index d9cf8b988..311b18b4c 100644
--- a/weechat/src/gui/curses/gui-display.c
+++ b/weechat/src/gui/curses/gui-display.c
@@ -1370,7 +1370,9 @@ gui_curses_resize_handler ()
}
gui_current_window = old_current_window;
- gui_draw_buffer_input (gui_current_window->buffer, 1);
+ gui_calculate_pos_size (gui_current_window);
+ gui_redraw_buffer (gui_current_window->buffer);
+ //gui_draw_buffer_input (gui_current_window->buffer, 1);
}
/*