From 94e55a524c2faf0bd2c3b2e5c765c156e911472b Mon Sep 17 00:00:00 2001 From: wlodekm Date: Sun, 10 Nov 2024 21:07:22 +0200 Subject: slight fix --- buildall.sh | 4 ++++ v2/screen/home.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/buildall.sh b/buildall.sh index a1afb5d..a0e2bcd 100755 --- a/buildall.sh +++ b/buildall.sh @@ -1,5 +1,9 @@ echo "Welcome to the meower CL build script" +echo "removing build folder if there already is a build there" + +rm -r build/* + echo "Building windows..." deno task build-win 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") }] -- cgit 1.4.1-2-gfad0