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
parent
8b255c2251
commit
2a84e44a58
2
bin/tame
2
bin/tame
|
@ -460,7 +460,7 @@ saneout()
|
||||||
/internal:/ { printf "\033[0;35m"; out=1; }
|
/internal:/ { printf "\033[0;35m"; out=1; }
|
||||||
/internal error:/ { printf "\033[1m"; out=1; }
|
/internal error:/ { printf "\033[1m"; out=1; }
|
||||||
/^[^[]/ || out { print; printf "\033[0;0m"; out=0; }
|
/^[^[]/ || out { print; printf "\033[0;0m"; out=0; }
|
||||||
' | awk '{printf "\x1b[2K\r%s", $0}'
|
' | sed 's/^/\x1b[2K\r/'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue