diff options
author | Luke Adams <lukeclydeadams@gmail.com> | 2018-10-04 10:29:19 -0600 |
---|---|---|
committer | Luke Adams <lukeclydeadams@gmail.com> | 2018-10-04 10:29:19 -0600 |
commit | bc8e6754a72157a944d304904a9a9dcf45e109ce (patch) | |
tree | e67a0c1e889fd2d26b54b83e05a11a24f88b4429 /termui | |
parent | f464363213ce7315d1f3ea10138450a4ca7432d3 (diff) | |
download | git-bug-bc8e6754a72157a944d304904a9a9dcf45e109ce.tar.gz |
Make addCommentWithEditor accept a preMessage
Diffstat (limited to 'termui')
-rw-r--r-- | termui/termui.go | 2 |
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 |