tty-prompt
tty-prompt copied to clipboard
A beautiful and powerful interactive command line prompt
### Describe the problem Pressing up-arrow in response to the prompt below causes the dashes to be converted to spaces. ```ruby prompt = TTY::Prompt.new prompt.ask('Filename slug: ', value: 'a-b-c') ```...
### Discussed in https://github.com/piotrmurach/tty-prompt/discussions/183 Originally posted by **mslinn** May 10, 2022 I want to verify that the provided answer is within the range of allowable string lengths (`min..max`). ## Attempt...
### Describe the problem Pressing **ctrl+a** or **ctrl+r** on filtered results, raises an exception. ### Steps to reproduce the problem Create a `multi_select` with the `filter: true` option enabled ```ruby...
### Describe the change Fixes [issue 172](https://github.com/piotrmurach/tty-prompt/issues/172) ### Requirements - [x] Tests written & passing locally? - [x] Code style checked? - [x] Rebased with `master` branch? - [x] Documentation...
### Are you in the right place? * For issues or feature requests file a GitHub issue in this repository * For general questions or discussion post in [Discussions](https://github.com/piotrmurach/tty-prompt/discussions) ###...
### Describe the problem The `select` feature does not work on windows + bash terminal. When you try to navigate using arrow keys, the hint disappears and it doesn't let...
I imagine that @show_ehlp was supposed to be @show_help.
### Describe the change Attempting to address the [issue described here](https://github.com/piotrmurach/tty-prompt/issues/161), if merged this MR will: - Change #select and #multi_select to accept a `:confirm_keys` option - Change #multi_select to...
### Describe the problem When both :min and :max options are passed to multi_select, the min option is ignored if number of selections is less than or equal to the...
### Describe the problem I'm trying to find a way to not use the space character as selection when filtering a list using select. I'm using select for a list...