Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Purge ansi color escape codes in repl terminal #1291

Open
a73s opened this issue Jul 24, 2024 · 1 comment
Open

[feature] Purge ansi color escape codes in repl terminal #1291

a73s opened this issue Jul 24, 2024 · 1 comment

Comments

@a73s
Copy link

a73s commented Jul 24, 2024

Problem Statement

would fix this. particularly gdb cannot use the integrated terminal (or at least I cannot figure it out).

Possible Solutions

No response

Considered Alternatives

not sure if this is possible but color support would be even better

@mfussenegger
Copy link
Owner

mfussenegger commented Jul 24, 2024

I had considered this but it would also break colorization as described in #1114 (comment) and there might be cases where you actually want to see the raw output.

You could now also customize the output handler (:h dap.defaults see on_output) to add the logic that removes the ansi color escape codes.

Keeping this open to get some more feedback if people want this - I'm particularly interested if anyone has strong feelings against doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants