Skip to content
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

Dashes in a value provided to ask are converted to spaces after up-arrow #185

Open
mslinn opened this issue May 13, 2022 · 0 comments
Open

Comments

@mslinn
Copy link

mslinn commented May 13, 2022

Describe the problem

Pressing up-arrow in response to the prompt below causes the dashes to be converted to spaces.

prompt = TTY::Prompt.new
prompt.ask('Filename slug: ', value: 'a-b-c')

There is no error message.

Describe your environment

  • OS version: Ubuntu 22.04 on WSL2
  • Ruby version: 3.1.0
  • TTY::Prompt version: 0.23.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant