aboutsummaryrefslogtreecommitdiffstats
path: root/termui
diff options
context:
space:
mode:
authorLuke Adams <lukeclydeadams@gmail.com>2018-10-04 10:29:19 -0600
committerLuke Adams <lukeclydeadams@gmail.com>2018-10-04 10:29:19 -0600
commitbc8e6754a72157a944d304904a9a9dcf45e109ce (patch)
treee67a0c1e889fd2d26b54b83e05a11a24f88b4429 /termui
parentf464363213ce7315d1f3ea10138450a4ca7432d3 (diff)
downloadgit-bug-bc8e6754a72157a944d304904a9a9dcf45e109ce.tar.gz
Make addCommentWithEditor accept a preMessage
Diffstat (limited to 'termui')
-rw-r--r--termui/termui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/termui/termui.go b/termui/termui.go
index f2163d96..45952705 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -210,7 +210,7 @@ func addCommentWithEditor(bug *cache.BugCache) error {
ui.g.Close()
ui.g = nil
- message, err := input.BugCommentEditorInput(ui.cache)
+ message, err := input.BugCommentEditorInput(ui.cache, "")
if err != nil && err != input.ErrEmptyMessage {
return err