Skip to content

Commit 2b69462

Browse files
committed
Show escape binding for staging and patch building in the status bar
1 parent d50b3e8 commit 2b69462

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

pkg/gui/controllers/patch_building_controller.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ func (self *PatchBuildingController) GetKeybindings(opts types.KeybindingsOpts)
4343
DisplayOnScreen: true,
4444
},
4545
{
46-
Key: opts.GetKey(opts.Config.Universal.Return),
47-
Handler: self.Escape,
48-
Description: self.c.Tr.ExitCustomPatchBuilder,
46+
Key: opts.GetKey(opts.Config.Universal.Return),
47+
Handler: self.Escape,
48+
Description: self.c.Tr.ExitCustomPatchBuilder,
49+
DisplayOnScreen: true,
4950
},
5051
}
5152
}

pkg/gui/controllers/staging_controller.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ func (self *StagingController) GetKeybindings(opts types.KeybindingsOpts) []*typ
6868
Tooltip: self.c.Tr.EditFileTooltip,
6969
},
7070
{
71-
Key: opts.GetKey(opts.Config.Universal.Return),
72-
Handler: self.Escape,
73-
Description: self.c.Tr.ReturnToFilesPanel,
71+
Key: opts.GetKey(opts.Config.Universal.Return),
72+
Handler: self.Escape,
73+
Description: self.c.Tr.ReturnToFilesPanel,
74+
DisplayOnScreen: true,
7475
},
7576
{
7677
Key: opts.GetKey(opts.Config.Universal.TogglePanel),

0 commit comments

Comments
 (0)