-
Notifications
You must be signed in to change notification settings - Fork 97
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
Reprompting on every key stroke #26
Comments
Yes, it is known. I've not been able to retrieve the screen width, so it is not easy to solve. Anyway, Inquirer is ready to use another renderers, because I thought in using curses as another option. This would fix the problem. But it is too much work, and very difficult to test automatically. |
Thats fair, but I'm looking at your source code and it looks like you're using blessings-1.5.1 to handle the screen rendering. |
If there is a Terminal.width, then I suppose there is no more excuses to not fix this :) I will try when I have time enough. Thanks for reporting! |
Oh and I did notice that there is a newer and more up-to date version of blessings - https://github.com/jquast/blessed/tree/master/blessed |
@magmax @maranellored Any update on this? |
I'm afraid not. |
I encountered this issue as well. Overall, I find inquirer slow, glitchy, and counter-intuitive. EDIT: I also promise to fix this when I get a chance. I'll issue a pull request, hopefully before New Year 2024-2025 |
I've been playing around with inquirer and I love the features!
One annoying bug that I've noticed though is that if the question is longer than my terminal width, then every single keystroke will cause the question to be rendered again in a new line.
This is pretty annoying since it can easily fill up my screen while I'm trying to type an answer to the question.
Is this a known problem? Or are there any workarounds for this issue?
Thanks!
The text was updated successfully, but these errors were encountered: