mirror of
https://codeberg.org/TicklishHoneyBee/CLIte.git
synced 2026-03-11 09:04:37 +00:00
fix less chopping off the top line
This commit is contained in:
parent
75efa40f2a
commit
c618fb3ac1
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue