Commiting for C&C
This commit is contained in:
@@ -29,7 +29,7 @@ func (s *settingsScreen) Init() wandle.Cmd {
|
||||
// Set up the top menu
|
||||
fileMenu := s.menu.NewSubMenu("File")
|
||||
quitOption := widdles.NewMenuItem("Quit")
|
||||
quitOption.Hotkey = termbox.KeyCtrlC
|
||||
quitOption.SetHotkey(widdles.NewHotkey(termbox.KeyCtrlC))
|
||||
quitOption.SetCommand(func() wandle.Msg { return wandle.Quit() })
|
||||
fileMenu.AddOption(quitOption)
|
||||
gotoMenu := s.menu.NewSubMenu("Goto")
|
||||
|
||||
Reference in New Issue
Block a user