Change /clear behaviour. Closes issue #855.
This commit is contained in:
@@ -562,7 +562,10 @@ win_sub_page_up(ProfWin *window)
|
||||
void
|
||||
win_clear(ProfWin *window)
|
||||
{
|
||||
werase(window->layout->win);
|
||||
int y = getcury(window->layout->win);
|
||||
int *page_start = &(window->layout->y_pos);
|
||||
*page_start = y;
|
||||
window->layout->paged = 1;
|
||||
win_update_virtual(window);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user