mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Change /clear behaviour. Closes issue #855.
This commit is contained in:
parent
a8ad394ee3
commit
0d6aef68e7
@ -562,7 +562,10 @@ win_sub_page_up(ProfWin *window)
|
|||||||
void
|
void
|
||||||
win_clear(ProfWin *window)
|
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);
|
win_update_virtual(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user