summaryrefslogtreecommitdiffstats
path: root/pkg/gui/commit_message_panel.go
diff options
context:
space:
mode:
authorBlakeMScurr <blakemscurr@gmail.com>2018-11-30 11:04:08 +1300
committerBlakeMScurr <blakemscurr@gmail.com>2018-11-30 11:04:08 +1300
commit643cdd3461007fafb1fd9284a65b54f36e55ddac (patch)
tree0266b3c0e5184e0da054d4310a7b301e208d056c /pkg/gui/commit_message_panel.go
parent5c70d2724b508c3021558162fbfd9792c2d77e63 (diff)
Add simple comments to uncommented functions.
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r--pkg/gui/commit_message_panel.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go
index c26b5573a..6f828312c 100644
--- a/pkg/gui/commit_message_panel.go
+++ b/pkg/gui/commit_message_panel.go
@@ -82,6 +82,7 @@ func (gui *Gui) getBufferLength(view *gocui.View) string {
return " " + strconv.Itoa(strings.Count(view.Buffer(), "")-1) + " "
}
+// RenderCommitLength is a function
func (gui *Gui) RenderCommitLength() {
if !gui.Config.GetUserConfig().GetBool("gui.commitLength.show") {
return