You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set up a menu with multi-line entires and there are some bugs.
When moving the cursor, the entries show up multiple times
The arrow seems to be misplaced
Long text seems to be cut
import simple_term_menu
terminal_menu = simple_term_menu.TerminalMenu(['Entry 1\n Line 1\nLine 2\nLine 3 and a very loooooooooooooooooooooooooooooooooooooooooong text', 'Entry 2\n Line 1\nLine 2\nLine3 with an even loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooonger text, which seems to be cut before the end.'], multi_select=False, multi_select_cursor_brackets_style=('fg_black',), multi_select_cursor_style=('fg_black', 'bold'))
terminal_menu.show()
The text was updated successfully, but these errors were encountered:
Sorry for my late reply. Currently, simple-term-menu simply assumes that all menu entries are one-liners. Therefore, long texts are cut to keep every entry on one line. I tag your issue as enhancement request, since it would definitely be reasonable to allow multi-line strings.
I set up a menu with multi-line entires and there are some bugs.
The text was updated successfully, but these errors were encountered: