[scroll_down] move along with expansion for autogrow #2446

This commit is contained in:
nick black 2021-12-09 17:45:49 -05:00 committed by nick black
parent e0c4e67a11
commit 238663403b

View File

@ -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))){