mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
This PR enhances MenuBar with the ability to have top-level (on the MenuBar itself), clickable, actionable, MenuItems. Along the way it fixes a few MenuBar bugs and... alt activates/closes the menu just like on Windows (alt and f9 work the same). Cursor shows consistently across the MenuBar as the focus changes Top-level menu items show accelerator keys. demo.cs has been enhanced to include an example top-level menuitems. I also tested top-level menuitem as the first menu item as well as in the middle. I didn't want to over complicate demo.cs with tons of examples, FWIW.