-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
New setting: draw-bold-text-with-bright-colors #3285
base: master
Are you sure you want to change the base?
Conversation
The new setting is draw-bold-text-with-bright-colors, and it is disabled by default, as it always should have been. This is also the name Alacritty uses. Similarly, it is disabled by default.
Disclaimer: I do not know how to get this on my Android. I was merely able to build it cleanly after updating |
Signing keys. https://github.com/termux/termux-app#installation Will look into testing pull later. Pull has conflicts with my local work and will require moving stuff. The changes seem good. Will have to see if changing default to |
I would prefer this option being false by default due to the following reasons:
|
I'll have to read up on this.
Existent behavior for termux? New property already defaults to false and will change termux behavior. Lines 442 to 458 in b1b36a3
|
Sorry, my bad. I assumed that Termux didn't force bold text to print with bright colors. Had never ran over this issue myself. I do believe changing the default behaviour would be nice thing to do. Would like to know your reasoning behind keeping the current behaviour. |
I have no reasoning currently and will need to read up on its history. I haven't noticed the issue myself either. |
Here, you can see how Linux treats bright vs bold. If the color is bright, it converts it to non-bright and switches on 'bold': But 'bold', 'italic', and 'underline' are merely implemented as colors. Here, you can see that when bold is enabled, the color (b0BBB0FFF for 3-bit background and 3-bit foreground) gets 8 added to the foreground: The 'support' for bright color codes 90-97 added in torvalds/linux@cc67dc2 did not add the bright colors, they were already there. Those bright colors previously could only be specified by the intensity flag or by using the 256-color pallete. The commit hints at this, but these color codes weren't standardized in ECMA-48, which only specified SGR values up to 65. But these were commonly implemented by many terminals. Of course, those color codes aren't necessary, Note I'm done editing after prematurely posting halfway through. |
The new setting is draw-bold-text-with-bright-colors, and it is disabled by default, as it always should have been. This is also the name Alacritty uses. Similarly, it is disabled by default.
Should resolve #595, #1112