diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-05 23:02:13 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-05 23:02:13 +1000 |
commit | a2d40cfbf1df9c6cd7107e9356cca6dbac031f40 (patch) | |
tree | cda6bc640b3a7845a20c65c70e53dcda1c93694a /pkg/gui/files_panel.go | |
parent | 986774e5c7ddf5c1de1e1adb831baac84a2dae66 (diff) |
allow users to configure whether the commit length is shown
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index f85ff9d33..1971b3453 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -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 |