diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2024-02-12 06:26:18 -0600 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-02-12 13:48:47 +0100 |
commit | f001f65240f85f0af91703dbcc0b068c0797297a (patch) | |
tree | c3e7e60f6000137a766b0c2313ac4f27009fffa6 /lib/ui/fill.go | |
parent | 0fd5f4115792e706f73202d77fac404c0033333b (diff) | |
download | aerc-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.go | 8 |
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} } |