Comments (3)
Ohhh interesting. My educated guess is that cli-width
returns a different value between windows/linux in this context. I don't have a windows machine, so I would really appreciate it if you could test it out and report what you find!
from inquirer.js.
I'm not sure how we could automatically make this consistent from @inquirer/testing
. Mocks are unlikely to work since they're now test framework agnostic, and CLI_WIDTH
env variable would need to be set from outside.
At the very least, will add a note to the documentation.
from inquirer.js.
I changed the issue after realising it was just a trim issue more than a width issue.
from inquirer.js.
Related Issues (20)
- Bump `yoctocolors-cjs` to `2.1.2` for Deno compatibility HOT 4
- Possible bug on using inquirer inside of commitlint HOT 1
- High Severity ReDoS vulnerability in ansi-regex HOT 2
- Date prompt HOT 3
- New set implementation errors when overriding a boolean with an object HOT 3
- instanceof always returning false when checking for ExitPrompError errors HOT 5
- Program cannot be killed on powershell using Ctrl+c HOT 1
- prompt list returns undefined HOT 3
- Load more/append to list HOT 11
- [Feature]: inquirer/search - external pagination support (or be able to pass search value back to new instance) HOT 3
- [Feature]: inquirer/search - debounce support HOT 4
- How to get "Choice" type? HOT 8
- Guidance for unit tests HOT 2
- Ctrl+C breaks my terminal with "nested" prompts HOT 4
- Which version of @inquirer/prompts supports Node.js v16? HOT 1
- `[email protected]` has a missing type for `message` in prompt function HOT 6
- A way to fix flickering HOT 2
- Reuse prompt? HOT 3
- Handle ctrl+c gracefully HOT 4
- Proper text search in select? 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 inquirer.js.