IngoMeyer441/simple-term-menu

status_bar does not consider | in menu entries

StephanHasler opened this issue · 1 comments

I have menu entries like:
[
"Longer description 1|id_1",
"Longer description 2|id_2"
]

Corresponding to the documentation the preview_command callable gets passed the "id_?".
For consistency, I would expect a similar behavior for the status_bar callable. However, that gets passed "Longer description ?".

Thanks for reporting this. You are right, the status bar should get the part behind the bar. Will add this to my todo list...