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 {
matched := gui.handleEditorKeypress(v.TextArea, key, ch, mod, true)
v.RenderTextArea()
gui.c.Contexts().CommitMessage.RenderCommitLength()
return matched
}