summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-20 17:27:22 -0400
committerJune McEnroe <june@causal.agency>2021-10-20 17:27:22 -0400
commited5b64495c2271d492cb9cd41129bbd8c37c408c (patch)
tree1545f7a4507defddbcc2e841d43c87db6641cf02 /bin
parentFix showing cursor with default colors (diff)
downloadsrc-ed5b64495c2271d492cb9cd41129bbd8c37c408c.tar.gz
src-ed5b64495c2271d492cb9cd41129bbd8c37c408c.zip
Run shotty after ptee in up -t
To avoid shotty warnings for unhandled sequences interfering with
the screen.
Diffstat (limited to 'bin')
-rw-r--r--bin/up.sh3
1 files changed, 2 insertions, 1 deletions
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)
 	</style>
 	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"
 }