aboutsummaryrefslogtreecommitdiffstats
path: root/termui/termui.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-08-07 19:14:12 +0200
committerMichael Muré <batolettre@gmail.com>2019-08-08 19:06:13 +0200
commit612a29b031c0f2914d8b283b99bf187f20182fa9 (patch)
treead8f57f5d52952a1506da4c34e5f88d886cef352 /termui/termui.go
parent2e1a5e246ee3589c2f664a62ebd06be7dc69c229 (diff)
downloadgit-bug-612a29b031c0f2914d8b283b99bf187f20182fa9.tar.gz
fix everything following the hash-->id change
Diffstat (limited to 'termui/termui.go')
-rw-r--r--termui/termui.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/termui/termui.go b/termui/termui.go
index 46f9dd06..2a0b64e9 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -2,11 +2,11 @@
package termui
import (
- "github.com/MichaelMure/git-bug/cache"
- "github.com/MichaelMure/git-bug/input"
- "github.com/MichaelMure/git-bug/util/git"
"github.com/MichaelMure/gocui"
"github.com/pkg/errors"
+
+ "github.com/MichaelMure/git-bug/cache"
+ "github.com/MichaelMure/git-bug/input"
)
var errTerminateMainloop = errors.New("terminate gocui mainloop")
@@ -237,7 +237,7 @@ func addCommentWithEditor(bug *cache.BugCache) error {
return errTerminateMainloop
}
-func editCommentWithEditor(bug *cache.BugCache, target git.Hash, preMessage string) error {
+func editCommentWithEditor(bug *cache.BugCache, target string, preMessage string) error {
// This is somewhat hacky.
// As there is no way to pause gocui, run the editor and restart gocui,
// we have to stop it entirely and start a new one later.