mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Change /clear command to preserve window history
This commit is contained in:
parent
b087f84d95
commit
ce181c76f1
@ -561,7 +561,9 @@ win_sub_page_up(ProfWin *window)
|
||||
void
|
||||
win_clear(ProfWin *window)
|
||||
{
|
||||
werase(window->layout->win);
|
||||
int y = getcury(window->layout->win);
|
||||
window->layout->y_pos = y;
|
||||
window->layout->paged = 1;
|
||||
win_update_virtual(window);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user