Buffers ?!

This commit is contained in:
2025-10-15 16:25:18 -05:00
parent 7a1afd67ac
commit f823a24fe8
10 changed files with 375 additions and 51 deletions

View File

@@ -400,6 +400,7 @@ func (w *Menu) MoveDown(ev *tcell.EventKey) bool {
func (w *Menu) CreateMenuItem(lbl string, do func() bool, hotKey rune, subItems ...*MenuItem) *MenuItem {
d := NewMenuItem(fmt.Sprintf("menuitem-%s", lbl), tcell.StyleDefault)
d.SetMenuType(MenuTypeV)
d.SetHotKey(hotKey)
d.SetLabel(lbl)
d.SetOnPressed(do)