We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce: Run echo hello | ./less --use-color -R -Ps$(printf 'aa\e[41mbb\e[mcc')
echo hello | ./less --use-color -R -Ps$(printf 'aa\e[41mbb\e[mcc')
Expected result: Prompt should be "aabbcc" with the "aa" and "cc" uncolored, and the "bb" colored red.
Actual result: "aa" is colored with the default prompt color instead of being uncolored.
Tested on less-643.
The text was updated successfully, but these errors were encountered:
Fix prompt coloring when prompt contains manual SGR sequnces.
c33b98e
Related to #516.
Fixed in c33b98e.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce:
Run
echo hello | ./less --use-color -R -Ps$(printf 'aa\e[41mbb\e[mcc')
Expected result:
Prompt should be "aabbcc" with the "aa" and "cc" uncolored, and the "bb" colored red.
Actual result:
"aa" is colored with the default prompt color instead of being uncolored.
Tested on less-643.
The text was updated successfully, but these errors were encountered: