fix: Prevent terminal control sequences (#1139)

This commit is contained in:
sequencerr 2025-03-19 23:42:24 +01:00 committed by GitHub
parent b7ad0d3d88
commit 0c8943f541
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ info "Booting ${APP}${BOOT_DESC} using QEMU v$version..."
terminal
( sleep 30; boot ) &
tail -fn +0 "$QEMU_LOG" 2>/dev/null &
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" &
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" | sed 's/\x1B\[[=0-9;]*[a-z]//gi' &
wait $! || :
sleep 1 & wait $!