Comments (8)
We tough about using checkbox on #14
My only concerns is to support a large set of fonts and Windows - which was a given with the X. I know Mocha uses a check in their test who's working on PowerShell.
We'll need some support test for that - or make sure we can have a clean fallback.
from inquirer.js.
To keep up with what I found, I'll post here.
chcp
in Windows returns currents language.
http://stackoverflow.com/questions/1259084/what-encoding-code-page-is-cmd-exe-using
from inquirer.js.
Added a check so unix system use the symbols, and windows will fallback to the X. May revisit later, but I really got some weird output on windows so for now I don't want to overthink this...
Planned to be release with 0.2
who'll add some new prompts - work is in wip
branch.
from inquirer.js.
Awesome!
Sidenote: Add some screenshots of the prompts to the readme for better marketing ;)
from inquirer.js.
@sindresorhus Oh yeah, good idea! Will do!
from inquirer.js.
Is there a way to force inquirer to use non unicode characters?
from inquirer.js.
@mikedevita no, that's not a feature at the moment. Are you running somewhere where unicode is not supported?
from inquirer.js.
Were a shop which runs windows and uses putty to connect to RHEL servers and can't reliably set putty to use fonts which support unicode...
Rather than fixing all our machines to use a unicode font I'd rather just use plaintext and bypass the issue.
from inquirer.js.
Related Issues (20)
- Use value from list prompt in message for next question? HOT 3
- Removed type causing breaking change in non-major update. HOT 1
- A null shows in the prompt using mqtt.js HOT 1
- inquirer.js in windows HOT 1
- Windows 💻
- feat: `transformChoice` options for checkbox HOT 5
- Typescript intellisense auto-completion is broken in Inquirer v9 HOT 2
- 'process.stdin' in nodejs is not working properly HOT 6
- Do not show the selected option again / closes automatically HOT 8
- Feature request: nested checkboxes HOT 3
- `Error [ERR_REQUIRE_ESM]: require() of ES Module` HOT 3
- Don't reject with standard error on exit signal HOT 3
- Will the engine.node filed be downgraded back to v14 in the current v9? HOT 1
- [Feature] Allow undefined as a default HOT 1
- Any way to cast the input? HOT 2
- stdout trim issue in tests HOT 3
- Support unicode for Windows HOT 3
- Making chalk an optional dep HOT 3
- npx @inquirer/demo@latest crashes on macos sonoma 14.4.1 HOT 3
- Default value for editor prompt not written to file (old API)
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 inquirer.js.