-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
RFC: make julia prompt non bold #20236
Conversation
I'd like some ability to turn thing bold again. E.g. |
Yeah, that could be one reason to leave it on. Adding bold to all 16 + 256 colors is one way to do it (or punt on boldness for the 256 colors...). |
What's wrong with |
Nothing wrong, just a bit long :) If something more 'lightweight' would be considered, then This can be changed by every user, of course -- though changing the length of the prompt seems to cause some cursor weirdness. |
Personally I like the extra visual distinction provided by having a bold prompt with non-bold input. Some terminal color schemes map colors in a weird way so in some cases the prompt color becomes nearly indistinguishable from the input color (Jameson noticed this with solarized dark), in which case having the bold by default is handy. |
Isn't solarized mapping colours weirdly because of the bold? |
That I don't know, I don't use solarized. @vtjnash? |
(If matlab uses I vote for nonbold. Ohmyrepl has shown how costumizable the Julia repl is, so people can always turn bold back on (right?). Given that @KristofferC (I believe) has earlier show that color names are sometimes weird with bold on, I say make bold opt-in. (Ps autocorrect wanted to change bigly to bigot, go figure) |
The problem is that there is no really nice way of enabling bold + color once the prompt is non bold because the API so far only considered colors as changeable. |
@pkofod pypy uses Seriously I like |
I'm fine with making the prompt configurable, but I'm vehemently against changing the default from |
My proposal for an API for bold + color is to allow each color name to be prefixed with |
Solarized maps all of the colors weirdly (it's designed to be low-contrast choice), so it's not much of a metric to go by for the average user. |
BAM: https://kristofferc.github.io/OhMyREPL.jl/latest/features/prompt.html. Even got an output prompt. |
We should probably start merging some OhMyREPL features back into the Base REPL. |
Point taken. Let me rephrase that: we should continue to merge more awesome features from OhMyREPL into the main REPL 😁 |
Makes the julia prompt (
julia>
) non bold since the input and answer text now is non bold.Lemme see some thumbs.