Skip to content

Commit a41bd6a

Browse files
PeterCardenasstefanhaller
authored andcommitted
feat: add keys for command log menu items
1 parent 8651c46 commit a41bd6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/gui/extras_panel.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ func (gui *Gui) handleCreateExtrasMenuPanel() error {
1414
Items: []*types.MenuItem{
1515
{
1616
Label: gui.c.Tr.ToggleShowCommandLog,
17+
Key: 't',
1718
OnPress: func() error {
1819
currentContext := gui.c.Context().CurrentStatic()
1920
if gui.c.State().GetShowExtrasWindow() && currentContext.GetKey() == context.COMMAND_LOG_CONTEXT_KEY {
@@ -28,6 +29,7 @@ func (gui *Gui) handleCreateExtrasMenuPanel() error {
2829
},
2930
{
3031
Label: gui.c.Tr.FocusCommandLog,
32+
Key: 'f',
3133
OnPress: gui.handleFocusCommandLog,
3234
},
3335
},

0 commit comments

Comments
 (0)