From ed5b64495c2271d492cb9cd41129bbd8c37c408c Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 20 Oct 2021 17:27:22 -0400 Subject: Run shotty after ptee in up -t To avoid shotty warnings for unhandled sequences interfering with the screen. --- bin/up.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/up.sh b/bin/up.sh index ebe8a69e..cebc29c4 100644 --- a/bin/up.sh +++ b/bin/up.sh @@ -59,7 +59,8 @@ uploadTerminal() { $(scheme -s) EOF - ptee $SHELL -c "$1" | shotty -Bs >>"${temp}/term.html" + ptee $SHELL -c "$1" >"${temp}/term.pty" + shotty -Bs "${temp}/term.pty" >>"${temp}/term.html" upload "${temp}/term.html" } -- cgit 1.4.1