-
Notifications
You must be signed in to change notification settings - Fork 44
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
Wide Unicode characters in menu_entries breaks display #73
Comments
Thanks for your report. Which version of simple_term_menu do you use? Since version python -c 'import simple_tem_menu; print(simple_term_menu.__version__)' Which OS do you use? |
Version of simple_term_menu is 1.5.2. OS is OSX 12.4 (Monterey). Terminal is iTerm2 3.4.18. |
I cannot reproduce this on Manjaro Linux with Kitty terminal. 😞 Maybe this is an Apple related problem. I will run some more tests on macOS. |
I can reproduce this issue on macOS Catalina with the default Apple Terminal.app. If you remove the menu item
simple-term-menu works as usual. Somehow the |
Hi, I just wanted to report that I'm getting this same bug on Arch Linux but only using the terminal foot (v1.15.1-1) Both on alacritty (v0.12.2-1) and on my st build the bug does not seem to show up |
Using strings with emojis or other wide characters in the menu_entries strings causes draw errors where the highlight does not match the cursor and duplicate lines get drawn above the menu every time a navigation key is pressed.
Environment is Mac OSX 12.4, iTerm2 terminal emulator.
First Render:
One Keypress down:
After several key presses:
Note that if there are many options for menu_entries, then not just the title line is repeated, but so are the first few lines of the option list:
The text was updated successfully, but these errors were encountered: