aboutsummaryrefslogtreecommitdiffstats
path: root/termui
diff options
context:
space:
mode:
Diffstat (limited to 'termui')
-rw-r--r--termui/termui.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/termui/termui.go b/termui/termui.go
index 403fcc97..80c23844 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -170,7 +170,7 @@ func newBugWithEditor(repo *cache.RepoCache) error {
ui.g.Close()
ui.g = nil
- title, message, err := input.BugCreateEditorInput(ui.cache.Repository(), "", "")
+ title, message, err := input.BugCreateEditorInput(ui.cache, "", "")
if err != nil && err != input.ErrEmptyTitle {
return err
@@ -210,7 +210,7 @@ func addCommentWithEditor(bug *cache.BugCache) error {
ui.g.Close()
ui.g = nil
- message, err := input.BugCommentEditorInput(ui.cache.Repository())
+ message, err := input.BugCommentEditorInput(ui.cache)
if err != nil && err != input.ErrEmptyMessage {
return err
@@ -243,7 +243,7 @@ func setTitleWithEditor(bug *cache.BugCache) error {
ui.g.Close()
ui.g = nil
- title, err := input.BugTitleEditorInput(ui.cache.Repository(), bug.Snapshot().Title)
+ title, err := input.BugTitleEditorInput(ui.cache, bug.Snapshot().Title)
if err != nil && err != input.ErrEmptyTitle {
return err
@@ -276,7 +276,7 @@ func editQueryWithEditor(bt *bugTable) error {
ui.g.Close()
ui.g = nil
- queryStr, err := input.QueryEditorInput(bt.repo.Repository(), bt.queryStr)
+ queryStr, err := input.QueryEditorInput(bt.repo, bt.queryStr)
if err != nil {
return err