mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 00:33:13 +02:00
Fix /window scroll_beyond_end when buffer has fewer lines than terminal height
This commit is contained in:
committed by
Sébastien Helleu
parent
f500c972dd
commit
40b5cf7ab0
@@ -1648,6 +1648,7 @@ gui_window_scroll_beyond_end (struct t_gui_window *window)
|
||||
{
|
||||
window->scroll->start_line = window->buffer->lines->last_line;
|
||||
window->scroll->start_line_pos = -1;
|
||||
window->scroll->first_line_displayed = 0;
|
||||
gui_buffer_ask_chat_refresh (window->buffer, 2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user