Comments (8)
There is already a blue >
character on the selected option. You may need to adjust your terminal background color, or the true colour of the ANSI colours used to make sure they all have sufficient contrast in your terminal configuration.
from cli-ui.
🤔 My background color is pure black. I don't think that's very unusual? The arrow (which I only saw now, after you mentioned it exists) is really dark blue. May I request using a lighter blue (like the blue used for the word "yes")?
from cli-ui.
Also, I don't have any fancy terminal config AFAIK - is it supposed to look like this?
from cli-ui.
No. The ANSI colours that dev uses should be user configured to have good contrast with whatever background you also configure. A lighter colour will have less good contrast with a light background.
If you use iterm, that configuration can be done under Profiles > Colors.
from cli-ui.
So, we do actually in most cases use the "bright blue" (\x1b[94m
) colour instead of "blue" (\x1b[34m
) for this reason: the default, unconfigured macOS terminal has an absolutely terrible choice for the default blue-on-black.
I think we should probably use bright blue consistently.
from cli-ui.
¯\_(ツ)_/¯ okay. I'm not a huge fan of restricting ourselves from using one of the 16 ANSI colours, but it seems I'm in a minority here.
from cli-ui.
Thank you!
from cli-ui.
Yeah, it took me a while to convince myself that this is not, in fact, the hill for me to die on. macOS just did/does this poorly and we have limited access to reconfigure this for people.
from cli-ui.
Related Issues (20)
- Why does :options conflict with :default? Would love to see it fixed. HOT 1
- Should not `ask` when it is not interactive HOT 2
- in the terminal of vscode HOT 1
- Spinner does not reset terminal fast enough when there's a lot of output HOT 2
- ANSI color code escaping for "ask" broken in Debian HOT 2
- Add example showing how to run a shell command with stdout redirected HOT 2
- Questions get duplicated when the message is too long HOT 6
- The ask color change my frame color.
- Can't prompt in a spinner
- Cant use gray color option for frame HOT 2
- Links to documentation are broken HOT 2
- Circular dependency warnings
- [Feature Request] Allow to debrief successful SpinGroups
- Add option to allow configuration of ask prompt instructions colour HOT 2
- Error interactive_options.rb:337:in `wait_for_user_input': Interrupt (Interrupt) HOT 2
- Cannot load such file - cli-ui-2.2.0/vendor/reentrant_mutex HOT 2
- Progress bar broken in 2.2? HOT 3
- Weak guarantees for `IO#write` override
- Intermittent prompt_test failure
- Radio buttons / checkboxes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli-ui.