summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xbuildall.sh4
-rw-r--r--v2/screen/home.ts2
2 files changed, 5 insertions, 1 deletions
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")
             }]