aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/text.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/text.go')
-rw-r--r--lib/ui/text.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ui/text.go b/lib/ui/text.go
index def61a0a..19a0b900 100644
--- a/lib/ui/text.go
+++ b/lib/ui/text.go
@@ -1,7 +1,7 @@
package ui
import (
- "github.com/gdamore/tcell/v2"
+ "git.sr.ht/~rockorager/vaxis"
"github.com/mattn/go-runewidth"
)
@@ -14,10 +14,10 @@ const (
type Text struct {
text string
strategy uint
- style tcell.Style
+ style vaxis.Style
}
-func NewText(text string, style tcell.Style) *Text {
+func NewText(text string, style vaxis.Style) *Text {
return &Text{
text: text,
style: style,