summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-06-20 16:32:41 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-06-20 16:32:41 +0200
commit2c04e9752359a603300d5c32f51a11e700f2f023 (patch)
tree861e44ab856658cb12d12006c50ed4c8c9a31a7d /src
parent72286fe8bb103c0c9ed73eda55538b66af297fca (diff)
downloadweechat-2c04e9752359a603300d5c32f51a11e700f2f023.zip
Scroll to bottom of buffer when using smart jump (alt-a)
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c
index 0a00f3b21..0394f68f7 100644
--- a/src/gui/gui-input.c
+++ b/src/gui/gui-input.c
@@ -1192,6 +1192,7 @@ gui_input_jump_smart ()
gui_hotlist_initial_buffer = gui_current_window->buffer;
gui_window_switch_to_buffer (gui_current_window,
gui_hotlist->buffer);
+ gui_window_scroll_bottom (gui_current_window);
gui_window_redraw_buffer (gui_current_window->buffer);
}
else
@@ -1200,6 +1201,7 @@ gui_input_jump_smart ()
{
gui_window_switch_to_buffer (gui_current_window,
gui_hotlist_initial_buffer);
+ gui_window_scroll_bottom (gui_current_window);
gui_window_redraw_buffer (gui_current_window->buffer);
gui_hotlist_initial_buffer = NULL;
}