Skip to content
Commit 5733ede3 authored by Ziad Elhanafy's avatar Ziad Elhanafy
Browse files

arm-auto-solution/oeqa: Strip ANSI escape sequences



RD-Aspen's shell emits ANSI escape sequences like \x1b[K
when redrawing prompts or cleaning lines, particularly
with longer or wrapped commands. This can cause issues
when parsing output.

This commit adds a regex-based filter in `_process_magic()`
to strip ANSI escape sequences from command output.

Signed-off-by: Ziad Elhanafy's avatarZiad Elhanafy <ziad.elhanafy@arm.com>
parent 0ccfe7bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment