Skip to content

Commit 4b9e7dc

Browse files
author
Mike Pountney
committed
Fix for #49 - switch to gopkg.in for termui v2
Looks like a breaking change has been introduced in termui master branch in gizak/termui@b227bd5 Moving to use the https://gopkg.in/gizak/termui.v2 version (currently v2.3.0) instead.
1 parent 811e496 commit 4b9e7dc

15 files changed

+15
-15
lines changed

base_input_box.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package jiraui
22

33
import (
4-
ui "github.com/gizak/termui"
4+
ui "gopkg.in/gizak/termui.v2"
55
)
66

77
type BaseInputBox struct {

base_list_page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"regexp"
66

7-
ui "github.com/gizak/termui"
7+
ui "gopkg.in/gizak/termui.v2"
88
)
99

1010
type Search struct {

command_bar.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package jiraui
22

33
import (
4-
ui "github.com/gizak/termui"
4+
ui "gopkg.in/gizak/termui.v2"
55
)
66

77
type CommandBar struct {

help_page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package jiraui
22

33
import (
4-
ui "github.com/gizak/termui"
4+
ui "gopkg.in/gizak/termui.v2"
55
)
66

77
type HelpPage struct {

label_list_page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package jiraui
33
import (
44
"fmt"
55

6-
ui "github.com/gizak/termui"
6+
ui "gopkg.in/gizak/termui.v2"
77
)
88

99
type LabelListPage struct {

password_input_box.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package jiraui
33
import (
44
"strings"
55

6-
ui "github.com/gizak/termui"
6+
ui "gopkg.in/gizak/termui.v2"
77
)
88

99
type PasswordInputBox struct {

query_list_page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package jiraui
33
import (
44
"fmt"
55

6-
ui "github.com/gizak/termui"
6+
ui "gopkg.in/gizak/termui.v2"
77
)
88

99
type Query struct {

run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"os"
66

77
"github.com/coryb/optigo"
8-
ui "github.com/gizak/termui"
98
"github.com/op/go-logging"
9+
ui "gopkg.in/gizak/termui.v2"
1010
)
1111

1212
var exitNow = false

scrollablelist.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package jiraui
22

33
import (
4-
ui "github.com/gizak/termui"
4+
ui "gopkg.in/gizak/termui.v2"
55
)
66

77
// A scrollable list with a cursor. To "deactivate" the cursor, just make the

sort_order_page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package jiraui
33
import (
44
"fmt"
55

6-
ui "github.com/gizak/termui"
6+
ui "gopkg.in/gizak/termui.v2"
77
)
88

99
type Sort struct {

status_bar.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package jiraui
22

33
import (
4-
ui "github.com/gizak/termui"
4+
ui "gopkg.in/gizak/termui.v2"
55
)
66

77
type StatusBar struct {

ticket_list_page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"regexp"
66

7-
ui "github.com/gizak/termui"
87
"gopkg.in/Netflix-Skunkworks/go-jira.v0"
8+
ui "gopkg.in/gizak/termui.v2"
99
)
1010

1111
type TicketListPage struct {

ticket_show_page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"regexp"
66

7-
ui "github.com/gizak/termui"
7+
ui "gopkg.in/gizak/termui.v2"
88
)
99

1010
const (

ui_controls.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package jiraui
33
import (
44
"os"
55

6-
ui "github.com/gizak/termui"
6+
ui "gopkg.in/gizak/termui.v2"
77
)
88

99
func registerEventHandlers() {

utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"regexp"
1010
"strings"
1111

12-
ui "github.com/gizak/termui"
1312
"github.com/mitchellh/go-wordwrap"
1413
"gopkg.in/Netflix-Skunkworks/go-jira.v0"
1514
"gopkg.in/coryb/yaml.v2"
15+
ui "gopkg.in/gizak/termui.v2"
1616
)
1717

1818
func countLabelsFromQuery(query string) map[string]int {

0 commit comments

Comments
 (0)