Skip to content
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

Merged
merged 1 commit into from
Feb 19, 2021

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Feb 18, 2021

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();

@fingolfin fingolfin added the release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes label Feb 18, 2021
@fingolfin fingolfin added the gapdays2021-spring Issues and PRs that could be tackled or discussed at https://www.gapdays.de/gapdays2021-spring label Feb 18, 2021
Copy link
Contributor

@ssiccha ssiccha left a 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.

Copy link
Contributor

@wucas wucas left a 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.

@ChrisJefferson
Copy link
Contributor

Just to join in, I'm in favour of this

Copy link
Member

@frankluebeck frankluebeck left a 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.

@fingolfin
Copy link
Member Author

I've added a suggestion for the release notes text; feel free to suggest improvements.

@fingolfin fingolfin merged commit 33da016 into gap-system:master Feb 19, 2021
@fingolfin fingolfin deleted the mh/enable-color-prompt branch February 19, 2021 13:04
ThomasBreuer added a commit to ThomasBreuer/gap that referenced this pull request Feb 22, 2021
... to the change of the default (see gap-system#4274),
and make the function `ColorPrompt` readonly
ThomasBreuer added a commit that referenced this pull request Feb 22, 2021
... to the change of the default (see #4274),
and make the function `ColorPrompt` readonly
@fingolfin fingolfin added release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: library and removed release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gapdays2021-spring Issues and PRs that could be tackled or discussed at https://www.gapdays.de/gapdays2021-spring kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants