mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[scroll_down] move along with expansion for autogrow #2446
This commit is contained in:
parent
e0c4e67a11
commit
238663403b
@ -1646,6 +1646,7 @@ void scroll_down(ncplane* n){
|
||||
if(n->y == n->leny - 1){
|
||||
if(n->autogrow){
|
||||
ncplane_resize_simple(n, n->leny + 1, n->lenx);
|
||||
ncplane_cursor_move_yx(n, n->leny - 1, 0);
|
||||
return;
|
||||
}
|
||||
if(n == notcurses_stdplane(ncplane_notcurses(n))){
|
||||
|
Loading…
Reference in New Issue
Block a user