summary refs log tree commit diff
diff options
context:
space:
mode:
-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"
 }