1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

Show the <a-enter> keybinding at bottom of commit description view

It was hard to discover, this should make it more obvious.
This commit is contained in:
Stefan Haller
2025-01-01 13:29:35 +01:00
parent ebfc7ff7c6
commit bf9339557e
3 changed files with 19 additions and 0 deletions

View File

@ -69,6 +69,12 @@ func (self *CommitMessageController) GetMouseKeybindings(opts types.KeybindingsO
}
}
func (self *CommitMessageController) GetOnFocus() func(types.OnFocusOpts) {
return func(types.OnFocusOpts) {
self.c.Views().CommitDescription.Footer = ""
}
}
func (self *CommitMessageController) GetOnFocusLost() func(types.OnFocusLostOpts) {
return func(types.OnFocusLostOpts) {
self.context().RenderCommitLength()