1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-27 22:38:09 +02:00

allow users to configure whether the commit length is shown

This commit is contained in:
Jesse Duffield
2018-09-05 23:02:13 +10:00
parent 986774e5c7
commit a2d40cfbf1
4 changed files with 14 additions and 2 deletions

View File

@@ -226,7 +226,7 @@ func (gui *Gui) handleCommitPress(g *gocui.Gui, filesView *gocui.View) error {
g.Update(func(g *gocui.Gui) error {
g.SetViewOnTop("commitMessage")
gui.switchFocus(g, filesView, commitMessageView)
commitMessageView.Subtitle = gui.getBufferLength(commitMessageView)
gui.RenderCommitLength()
return nil
})
return nil