aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/fill.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2024-02-12 06:26:18 -0600
committerRobin Jarry <robin@jarry.cc>2024-02-12 13:48:47 +0100
commitf001f65240f85f0af91703dbcc0b068c0797297a (patch)
treec3e7e60f6000137a766b0c2313ac4f27009fffa6 /lib/ui/fill.go
parent0fd5f4115792e706f73202d77fac404c0033333b (diff)
downloadaerc-f001f65240f85f0af91703dbcc0b068c0797297a.tar.gz
fill: replace tcell.Style with vaxis.Style
Replace the Fill implementation with vaxis style objects Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/ui/fill.go')
-rw-r--r--lib/ui/fill.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/ui/fill.go b/lib/ui/fill.go
index ff248905..eedb481e 100644
--- a/lib/ui/fill.go
+++ b/lib/ui/fill.go
@@ -1,15 +1,13 @@
package ui
-import (
- "github.com/gdamore/tcell/v2"
-)
+import "git.sr.ht/~rockorager/vaxis"
type Fill struct {
Rune rune
- Style tcell.Style
+ Style vaxis.Style
}
-func NewFill(f rune, s tcell.Style) Fill {
+func NewFill(f rune, s vaxis.Style) Fill {
return Fill{f, s}
}