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

support of [K escape code from ag result #976

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shadowwa
Copy link
Contributor

in ag results, the formating include ESC[K (erase from cursor to end of line) beside the color/graphic escape sequences ESC[1;34;{...}m

that give

ESC[1;32mpath/file.phpESC[0mESC[K:ESC[1;33m1234ESC[0mESC[K:30:    some line with a ESC[30;43mmatchESC[0mESC[K in the file

as only color/graphic escape sequences a strip with --color the resulting filename still contain ESC[K and the filetype not recognised: path/file.phpESC[K

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