From 2ee80d7150a3bdd366e569cf517156e2417cc8f4 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Mon, 7 Apr 2025 19:35:54 +0200 Subject: [PATCH] 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. --- pkg/gui/editors.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/gui/editors.go b/pkg/gui/editors.go index 69aabd684..10cac7008 100644 --- a/pkg/gui/editors.go +++ b/pkg/gui/editors.go @@ -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 }