-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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 Optional Cursor Properties to Color Schemes #764
Comments
Actually, the I could see the cursor color and shape being added to the scheme optionally, as most themes wouldn't have any sort of preference for the cursor properties. I'd definitely want to keep the ability for the profile to override these values however. I believe the only default profile with a background set is |
Makes sense. In which case |
mbadolato/iTerm2-Color-Schemes has many schemes which include For example the AdventureTime scheme in X11 format has several extra colours but in MobaXTerm format has fewer extra colours. As a related aside, I've raised mbadolato/iTerm2-Color-Schemes#191 to add all the schemes in that repo in the JSON format for the new Terminal. If |
I am actually using mbadolato/iTerm2-Color-Schemes and that's where I noticed this problem. I like the idea to be able to override settings in a Profile but I'd also like to be able to have these as Scheme defaults |
@carlocardella for the record, your situation will probably be helped in the immediate future by #3369. This is still a good and reasonable request for the future though :) |
I landed here searching for how to customize cursor color in Windows Terminal relative to the color scheme that has been applied. I wanted to use a light color scheme so applied "Tomorrow" color scheme, available here. Default cursor color in Windows Terminal being white (#ffffff), the cursor immediately went missing on applying the color scheme. It would have really helped to be able to override cursor color in color scheme as mentioned by @carlocardella . Since that is not available, out of curiosity, I wanted to check if setting value of the Apparently this doesn't seem to be supported. Also from the thread, it appears that color scheme is applied after the console is created using the profile properties? Hence the need to have absolute hex definitions for colors in the profile properties? Could that sequence be instead changed to load and apply the color scheme before profile is loaded and applied, so that the color names as defined in the color scheme could be mentioned in profile instead of absolute values, making color scheme the true reference point? Such relative color names used in profile would be resolved using the loaded color scheme which defines them. This obviously would be completely opposite to the request of being able to define |
Add the option to set the cursor color as part of the color scheme. This is very useful for light themes, where the cursor disappears unless its color is set in the profile. Related to issue #764, but doesn't fully resolve it. ## Validation I tested this manually by creating a light color scheme, setting the cursor color to black and setting the profile color scheme to the newly created color scheme. I validated the cursor is black, then set the cursor color in the profile (to red) and saw it trumps the cursor color from the color scheme.
There are several fields assigned against profiles that feel like they would be better placed in schemes (or at least duplicated to schemes):
cursorColor
cursorShape
fontFace
fontSize
There are two options for these properties that could be utilised:
background
is doing currently.Additionally, it may be worth actually removing the default
background
value, to allow the theme background to actually work by default.The text was updated successfully, but these errors were encountered: