-
Notifications
You must be signed in to change notification settings - Fork 31k
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
add builtin fish arg/description/documentation to suggestion #243271
base: main
Are you sure you want to change the base?
Conversation
// Clean up the text: | ||
// 1. Remove ANSI escape codes for bold and colors | ||
// 2. Remove backspace sequences like 'a\bb' that cause display artifacts | ||
const cleanHelpText = cleanupText(helpOutput); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I try that, it doesn't work / there are duplicate chars in the output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is with | cat | tr -d '\b'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, since this only runs periodically, not a runtime, not sure we need to further streamline this
fixes #241136