diff options
Diffstat (limited to 'v2/screen/home.ts')
-rw-r--r-- | v2/screen/home.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/v2/screen/home.ts b/v2/screen/home.ts index 4de3c5b..0be3ef9 100644 --- a/v2/screen/home.ts +++ b/v2/screen/home.ts @@ -18,7 +18,7 @@ export default { splitText = splitText.map(t => t.replace(new RegExp(`([^]){${termWidth}}`, "g"),"$1\n")); splitText = splitText.join("\n").split("\n") - splitText = splitText.slice(-(termHeight - inputValueHeight - 1)); + splitText = splitText.slice(-(termHeight - inputValueHeight)); return splitText.join("\n") }] |