bin/tame: Fix runner output line clearing

The output was being omitted under certain conditions, meaning that users
would have to look in the runlogs for errors.
main
Mike Gerwitz 2022-01-28 09:21:34 -05:00
parent 8b255c2251
commit 2a84e44a58
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ saneout()
/internal:/ { printf "\033[0;35m"; out=1; }
/internal error:/ { printf "\033[1m"; out=1; }
/^[^[]/ || out { print; printf "\033[0;0m"; out=0; }
' | awk '{printf "\x1b[2K\r%s", $0}'
' | sed 's/^/\x1b[2K\r/'
}