.
This commit is contained in:
parent
a4d662f948
commit
238722a64a
1 changed files with 2 additions and 0 deletions
|
|
@ -385,6 +385,8 @@ def monitor_game_pty(master_fd):
|
||||||
# line = apply_backspaces(line)
|
# line = apply_backspaces(line)
|
||||||
line = strip_ansi(line.decode(errors="ignore")).strip()
|
line = strip_ansi(line.decode(errors="ignore")).strip()
|
||||||
if line:
|
if line:
|
||||||
|
if line.startswith("]"):
|
||||||
|
line = line[1:]
|
||||||
if "--debug" in sys.argv:
|
if "--debug" in sys.argv:
|
||||||
print(f"[GAME] {line}", flush=True)
|
print(f"[GAME] {line}", flush=True)
|
||||||
if "--rawdebug" in sys.argv:
|
if "--rawdebug" in sys.argv:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue