fix less chopping off the top line

This commit is contained in:
Lisa Milne 2023-12-14 15:02:20 +10:00
parent 75efa40f2a
commit c618fb3ac1

View file

@ -398,7 +398,7 @@ Options:
function showAt(line) {
var start = line;
var end = line+rows;
var end = line+rows-1;
if (end > lines.length)
end = lines.length;
curses.clear();