aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui')
-rw-r--r--lib/ui/borders.go2
-rw-r--r--lib/ui/context.go4
-rw-r--r--lib/ui/fill.go2
-rw-r--r--lib/ui/grid.go2
-rw-r--r--lib/ui/interfaces.go2
-rw-r--r--lib/ui/popover.go2
-rw-r--r--lib/ui/stack.go2
-rw-r--r--lib/ui/tab.go2
-rw-r--r--lib/ui/text.go2
-rw-r--r--lib/ui/textinput.go2
-rw-r--r--lib/ui/ui.go2
11 files changed, 12 insertions, 12 deletions
diff --git a/lib/ui/borders.go b/lib/ui/borders.go
index 99d6880d..fd49e7fe 100644
--- a/lib/ui/borders.go
+++ b/lib/ui/borders.go
@@ -1,7 +1,7 @@
package ui
import (
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
"git.sr.ht/~sircmpwn/aerc/config"
)
diff --git a/lib/ui/context.go b/lib/ui/context.go
index 6bdf76ae..7936f359 100644
--- a/lib/ui/context.go
+++ b/lib/ui/context.go
@@ -3,8 +3,8 @@ package ui
import (
"fmt"
- "github.com/gdamore/tcell"
- "github.com/gdamore/tcell/views"
+ "github.com/gdamore/tcell/v2"
+ "github.com/gdamore/tcell/v2/views"
"github.com/mattn/go-runewidth"
)
diff --git a/lib/ui/fill.go b/lib/ui/fill.go
index 4d364787..0ab4f74b 100644
--- a/lib/ui/fill.go
+++ b/lib/ui/fill.go
@@ -1,7 +1,7 @@
package ui
import (
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
)
type Fill rune
diff --git a/lib/ui/grid.go b/lib/ui/grid.go
index cff55777..f505ce02 100644
--- a/lib/ui/grid.go
+++ b/lib/ui/grid.go
@@ -6,7 +6,7 @@ import (
"sync"
"sync/atomic"
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
)
type Grid struct {
diff --git a/lib/ui/interfaces.go b/lib/ui/interfaces.go
index 1f2f2849..7e117256 100644
--- a/lib/ui/interfaces.go
+++ b/lib/ui/interfaces.go
@@ -1,7 +1,7 @@
package ui
import (
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
)
// Drawable is a UI component that can draw. Unless specified, all methods must
diff --git a/lib/ui/popover.go b/lib/ui/popover.go
index a76f2225..7a539de1 100644
--- a/lib/ui/popover.go
+++ b/lib/ui/popover.go
@@ -1,6 +1,6 @@
package ui
-import "github.com/gdamore/tcell"
+import "github.com/gdamore/tcell/v2"
type Popover struct {
x, y, width, height int
diff --git a/lib/ui/stack.go b/lib/ui/stack.go
index c9004a0d..53714084 100644
--- a/lib/ui/stack.go
+++ b/lib/ui/stack.go
@@ -5,7 +5,7 @@ import (
"git.sr.ht/~sircmpwn/aerc/config"
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
)
type Stack struct {
diff --git a/lib/ui/tab.go b/lib/ui/tab.go
index cd5f4485..2cd8828a 100644
--- a/lib/ui/tab.go
+++ b/lib/ui/tab.go
@@ -3,7 +3,7 @@ package ui
import (
"io"
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
"git.sr.ht/~sircmpwn/aerc/config"
diff --git a/lib/ui/text.go b/lib/ui/text.go
index 455c2eb6..ffae1938 100644
--- a/lib/ui/text.go
+++ b/lib/ui/text.go
@@ -1,7 +1,7 @@
package ui
import (
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
)
diff --git a/lib/ui/textinput.go b/lib/ui/textinput.go
index 24450658..e96499a9 100644
--- a/lib/ui/textinput.go
+++ b/lib/ui/textinput.go
@@ -4,7 +4,7 @@ import (
"math"
"time"
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
"git.sr.ht/~sircmpwn/aerc/config"
diff --git a/lib/ui/ui.go b/lib/ui/ui.go
index ee71f8ec..66c2a054 100644
--- a/lib/ui/ui.go
+++ b/lib/ui/ui.go
@@ -3,7 +3,7 @@ package ui
import (
"sync/atomic"
- "github.com/gdamore/tcell"
+ "github.com/gdamore/tcell/v2"
)
type UI struct {