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

Shell escape codes in output of run-shell-command #7951

Closed
VuiMuich opened this issue Aug 15, 2023 · 2 comments
Closed

Shell escape codes in output of run-shell-command #7951

VuiMuich opened this issue Aug 15, 2023 · 2 comments
Labels
C-enhancement Category: Improvements

Comments

@VuiMuich
Copy link
Contributor

When running a command with :sh or :run-shell-command and the stdout of this contains escape sequences, this get printed in verbatim.
Ideally they should be print the correct character representation or be stripped/ignored.
Bash:
2023-08-15-162458_692x157_scrot
Helix:
2023-08-15-162657_692x157_scrot
(Funny drive-by bug: the yellow 033 in the helix screenshot inherited the color if the line number)

@VuiMuich VuiMuich added the C-enhancement Category: Improvements label Aug 15, 2023
@pascalkuthe
Copy link
Member

dislpaying escapes codes requires a temrinal emulator, so this is a duplicate of #1976

@pascalkuthe pascalkuthe closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2023
@VuiMuich
Copy link
Contributor Author

I see.
Thanks for your attention anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants