-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Could you support standard ANSI intensity format? #97
Comments
This is absolutely doable! I can't commit to doing it in the immediate future, but it's just some parsing code that needs to change. |
Sure. I'll find a workaround for now until you add this feature. |
If you want to hack it yourself or open a PR, check out https://github.com/thomasballinger/curtsies/blob/master/curtsies/escseqparse.py |
I think I'll just use a different kind of escape code for bpython, putting |
Created PR: #98. |
According to https://en.wikipedia.org/wiki/ANSI_escape_code, one can add
;1
to display bright/bold text. But this currently doesn't work in bpython, instead, I have to prefix colored text with\033[1m
to get bold effect.The inconsistency with standard ANSI escape code brings trouble to code that relies on it. Taking my current work pdir2 as an example, color can't be properly displayed in bpython.
I would like to know if you have plan to support this? I understand that it may conflicts with the current design/API, and it's totally ok if you don't.
The text was updated successfully, but these errors were encountered: