Open technicalpickles opened 1 year ago
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.
prompt.ask
prompt.multiline
prompt.select
https://user-images.githubusercontent.com/159/211130859-8f66f90c-5d90-406c-a485-c10112335477.mov
https://user-images.githubusercontent.com/159/211130860-ddcd99fb-5055-4c05-9fba-991417715e23.mov
require 'tty-prompt' prompt = TTY::Prompt.new prompt.ask "how are you?"
The text flickers. Maybe it's being redrawn every key?
No flickering while typing.
Describe the problem
I'm using
prompt.ask
andprompt.multiline
to gather input, and I've found they seem to flicker as you type. I haven't seen it withprompt.select
though.https://user-images.githubusercontent.com/159/211130859-8f66f90c-5d90-406c-a485-c10112335477.mov
https://user-images.githubusercontent.com/159/211130860-ddcd99fb-5055-4c05-9fba-991417715e23.mov
Steps to reproduce the problem
Actual behaviour
The text flickers. Maybe it's being redrawn every key?
Expected behaviour
No flickering while typing.
Describe your environment