mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
feat: add keys for command log menu items
This commit is contained in:
parent
8651c46e14
commit
a41bd6a255
|
|
@ -14,6 +14,7 @@ func (gui *Gui) handleCreateExtrasMenuPanel() error {
|
|||
Items: []*types.MenuItem{
|
||||
{
|
||||
Label: gui.c.Tr.ToggleShowCommandLog,
|
||||
Key: 't',
|
||||
OnPress: func() error {
|
||||
currentContext := gui.c.Context().CurrentStatic()
|
||||
if gui.c.State().GetShowExtrasWindow() && currentContext.GetKey() == context.COMMAND_LOG_CONTEXT_KEY {
|
||||
|
|
@ -28,6 +29,7 @@ func (gui *Gui) handleCreateExtrasMenuPanel() error {
|
|||
},
|
||||
{
|
||||
Label: gui.c.Tr.FocusCommandLog,
|
||||
Key: 'f',
|
||||
OnPress: gui.handleFocusCommandLog,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue