diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-02 17:08:59 +0200 |
---|---|---|
committer | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-05 11:26:54 +0200 |
commit | 98763e98cb4c0af033b5276423e451f1f8cd11ee (patch) | |
tree | e738b033e4c8e70b7614c893c6472eaf308e7d36 /pkg/gui/commit_message_panel.go | |
parent | f777c60ea4f014e93d31914d4e0a9b5ba1165382 (diff) |
initial commit message counter
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r-- | pkg/gui/commit_message_panel.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go index 36718680f..88a011c76 100644 --- a/pkg/gui/commit_message_panel.go +++ b/pkg/gui/commit_message_panel.go @@ -30,14 +30,10 @@ func (gui *Gui) handleCommitConfirm(g *gocui.Gui, v *gocui.View) error { func (gui *Gui) handleCommitClose(g *gocui.Gui, v *gocui.View) error { g.SetViewOnBottom("commitMessage") + g.SetViewOnBottom("commitMessageCount") return gui.switchFocus(g, v, gui.getFilesView(g)) } -func (gui *Gui) handleNewlineCommitMessage(g *gocui.Gui, v *gocui.View) error { - v.EditNewLine() - return nil -} - func (gui *Gui) handleCommitFocused(g *gocui.Gui, v *gocui.View) error { message := gui.Tr.TemplateLocalize( "CloseConfirm", |