1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-08 22:36:49 +02:00

Cleanup: don't render the commit length when typing in the description

Only the commit message has an effect on this value, the description doesn't.
This commit is contained in:
Stefan Haller
2025-04-07 19:35:54 +02:00
parent a24189ba63
commit 2ee80d7150

View File

@ -68,7 +68,6 @@ func (gui *Gui) commitMessageEditor(v *gocui.View, key gocui.Key, ch rune, mod g
func (gui *Gui) commitDescriptionEditor(v *gocui.View, key gocui.Key, ch rune, mod gocui.Modifier) bool { func (gui *Gui) commitDescriptionEditor(v *gocui.View, key gocui.Key, ch rune, mod gocui.Modifier) bool {
matched := gui.handleEditorKeypress(v.TextArea, key, ch, mod, true) matched := gui.handleEditorKeypress(v.TextArea, key, ch, mod, true)
v.RenderTextArea() v.RenderTextArea()
gui.c.Contexts().CommitMessage.RenderCommitLength()
return matched return matched
} }