summaryrefslogtreecommitdiff
path: root/shs/writeinfotty
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-03-10 00:16:03 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-03-10 00:16:03 -0800
commit353aa95310d84e6eb8ad0a41495cae0de00af08b (patch)
tree2975c01dfc4e0c294540ca32d2d1ce8a1a18b505 /shs/writeinfotty
parent9085c0769f8702eaeff4d7a425c5aa8a544e6a41 (diff)
for some reason this newline fixes a rendering error
Diffstat (limited to 'shs/writeinfotty')
-rwxr-xr-xshs/writeinfotty2
1 files changed, 1 insertions, 1 deletions
diff --git a/shs/writeinfotty b/shs/writeinfotty
index 84344be..8e03a8b 100755
--- a/shs/writeinfotty
+++ b/shs/writeinfotty
@@ -3,7 +3,7 @@ OUT="/dev/tty1"
QUOTES="/usr/local/share/abrquotes/quotes.txt"
TAGLINE="canonical"
-printf "\033[2J" > $OUT
+printf "\033[2J\n" > $OUT
figlet -w 200 $(shuf -n 1 $QUOTES) > $OUT
figlet -w 200 "$HOSTNAME % $TAGLINE" > $OUT
printf "\n" > $OUT