Skip to content

Commit

Permalink
scroll: go to the bottom before scrolling #1994
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jul 27, 2021
1 parent 4561ed6 commit 8187919
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8187919

Please sign in to comment.