TheBashMenu icon indicating copy to clipboard operation
TheBashMenu copied to clipboard

How to use in own script ?

Open ychaouche opened this issue 3 years ago • 2 comments

Running elements.sh, I can see how bmenu is called, but I am surprised the script didn't exit when I selected my menu item. Instead, it was looping on the selection menu (I had to type return again to make the menu reappear a second time), instead of just exiting. So I'm not sure how to use bmenu without having to use C-c to exit it ?

ychaouche avatar Sep 07 '21 16:09 ychaouche

elements.sh is just a cheatsheet for color / prompt / message. menuexemple.sh is the right way to use bmenu, but there is still some bugs I need to fix

HadrienAka avatar Sep 07 '21 19:09 HadrienAka

Hello HadrienAka, even with menuexemple.sh the program won't exit after selection. It keeps looping. (use arrow keys to make menu reappear again after selection).

ychaouche avatar Sep 08 '21 09:09 ychaouche