Skip to content

simulate: strip ANSI escapes from the agent log file#873

Closed
theomonnom wants to merge 1 commit into
mainfrom
theo/strip-ansi-log-file
Closed

simulate: strip ANSI escapes from the agent log file#873
theomonnom wants to merge 1 commit into
mainfrom
theo/strip-ansi-log-file

Conversation

@theomonnom

Copy link
Copy Markdown
Member

The agent subprocess logs in colored format, and lk-simulate-*.log captured the raw lines — so the file users open after a failure was littered with ANSI escape sequences. The file write now strips them (same ansiEscapeRe already used for room extraction); in-memory lines and the TUI stream are unchanged.

The agent logs in colored format for the TUI; the temp log file kept the
raw escape sequences.
@theomonnom

Copy link
Copy Markdown
Member Author

Folded into #867 instead.

@theomonnom theomonnom closed this Jun 11, 2026
@theomonnom theomonnom deleted the theo/strip-ansi-log-file branch June 11, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant