-
Notifications
You must be signed in to change notification settings - Fork 161
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
Enable color prompt by default #4274
Conversation
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.
LGTM. I agree that this should be a default.
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.
I agree it should be the default. It aligns more with expectations nowadays and especially for first time users looks much nicer and more modern.
Just to join in, I'm in favour of this |
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.
I'm using the color prompt since I introduced it without any problem. Very often when I show people some GAP usage in a talk or privately I'm asked how to enable this colored prompt.
So, I support changing the default. But, of course, this should be mentioned quite prominently in the release notes, including a hint how to get back the old standard behaviour.
I've added a suggestion for the release notes text; feel free to suggest improvements. |
... to the change of the default (see gap-system#4274), and make the function `ColorPrompt` readonly
... to the change of the default (see #4274), and make the function `ColorPrompt` readonly
I think a lot of people are missing out of this; and it should be safe for most. If this turns out to be wrong (as in: we get lots of complaints from people where it broke), we can still go back to the old default.
But perhaps I am missing other reasons that speak against it? @frankluebeck might have some suggestions.
Should IMHO be added to release notes because while being trivial and minor, it
has a very user visible effect, so people will notice, and may wonder.
Text for release notes
Enable colorized input prompts by default
GAP has supported colorized input prompts for a long time, but this feature was off by default. With this release, it is now on by default. Should you prefer the old behaviour, you can get it back by setting the
UseColorPrompt
user preference to false. For example, by entering these commands:SetUserPreference( "UseColorPrompt", false ); WriteGapIniFile();