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

Render issue using the console backend #228

Closed
maospr opened this issue Mar 5, 2024 · 2 comments · Fixed by #230
Closed

Render issue using the console backend #228

maospr opened this issue Mar 5, 2024 · 2 comments · Fixed by #230

Comments

@maospr
Copy link

maospr commented Mar 5, 2024

Describe the bug
When using inquire with the console backend to present a select, the select options disappear from screen upon interaction (typing, arrow down).
But the options are still there. Making a now invisible selection still yields the right result. Just the rendering of options is gone.

Using the termion & crossterm backends still work fine.

To Reproduce
Switch to the console backend:

[dependencies]
inquire = { version = "0.7.0", default-features = false, features = [ "console" ] }

Run the cli tool.

Expected behavior
I expected to see a change in selection upon pressing navigating (up/down) or a change of options when filtering.

Screenshots
Left: console, Right: termion
image

And output result:
image

Desktop (please complete the following information):

  • OS: FreeBSD 14 & Debian 12 (bookworm)
  • Terminal: alacritty 0.13.0
  • Version: 0.7.0

Additional context
Version 0.6.2 of inquire still worked fine with the console backend.
Sample project demonstrating this behavior: https://github.com/maospr/inquire-render-issue

@mikaelmello
Copy link
Owner

Thanks for the report, fixing it!

@mikaelmello
Copy link
Owner

Released in v0.7.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

Successfully merging a pull request may close this issue.

2 participants