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

ask and multiline flicker while typing #188

Open
technicalpickles opened this issue Jan 7, 2023 · 0 comments
Open

ask and multiline flicker while typing #188

technicalpickles opened this issue Jan 7, 2023 · 0 comments

Comments

@technicalpickles
Copy link

Describe the problem

I'm using prompt.ask and prompt.multiline to gather input, and I've found they seem to flicker as you type. I haven't seen it with prompt.select though.

Screen.Recording.2023-01-06.at.11.20.14.PM.mov
Screen.Recording.2023-01-06.at.11.18.56.PM.mov

Steps to reproduce the problem


require 'tty-prompt'

prompt = TTY::Prompt.new
prompt.ask "how are you?"

Actual behaviour

The text flickers. Maybe it's being redrawn every key?

Expected behaviour

No flickering while typing.

Describe your environment

  • OS version: macOS Ventura 13.0
  • Ruby version: 2.7.7
  • 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