mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
scroll: go to the bottom before scrolling #1994
This commit is contained in:
parent
4561ed6a69
commit
81879194d2
@ -894,6 +894,9 @@ rasterize_scrolls(ncpile* p, FILE* out){
|
||||
p->nc->rstate.logendx = 0;
|
||||
}
|
||||
}
|
||||
if(goto_location(p->nc, out, p->dimy, 0)){
|
||||
return -1;
|
||||
}
|
||||
while(p->scrolls){
|
||||
if(ncfputc('\n', out) < 0){
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user