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

Multiselect example doesn't work: selection is never re-rendered #264

Open
fadeevab opened this issue Jun 21, 2023 · 2 comments
Open

Multiselect example doesn't work: selection is never re-rendered #264

fadeevab opened this issue Jun 21, 2023 · 2 comments

Comments

@fadeevab
Copy link

fadeevab commented Jun 21, 2023

Rust: 1.70
Dialoguer: 0.10.4
Env: Windows Terminal + WSL2 + Ubuntu + Bash

How to reproduce:

cargo run --example multi_select

Select any item with arrows up and down, then try to select with a space bar: check-marks are always there.

image

@fadeevab
Copy link
Author

Alright, so it somehow depends on the font used in the Terminal.

Not working: FiraCode NFM (not rendered correctly, also with many other fonts)
Working: DejaVu Sans Mono

@fadeevab
Copy link
Author

fadeevab commented Jun 22, 2023

Alright, so it seems to be a Windows Terminal rendering bug (duplicate of: microsoft/terminal#13110) for a heavy check mark (\u2714, ✔), however, I also found that another checkmark symbol (\u2713, ✓) renders more consistently across the terminals.

image
image

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