--- rxvt-unicode/src/rxvtperl.xs 2021/06/17 00:49:20 1.250 +++ rxvt-unicode/src/rxvtperl.xs 2021/07/14 12:39:57 1.251 @@ -1569,9 +1569,8 @@ CODE: { RETVAL = THIS->view_start; - - if (newval <= 0) - THIS->scr_changeview (max (newval, THIS->top_row)); + if (items > 1) + THIS->scr_changeview (newval); } OUTPUT: RETVAL