aboutsummaryrefslogtreecommitdiffstats
path: root/app/msgviewer.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 /app/msgviewer.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 'app/msgviewer.go')
-rw-r--r--app/msgviewer.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/msgviewer.go b/app/msgviewer.go
index a22d2c15..179deca4 100644
--- a/app/msgviewer.go
+++ b/app/msgviewer.go
@@ -13,6 +13,7 @@ import (
"github.com/danwakefield/fnmatch"
"github.com/emersion/go-message/textproto"
+ "github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
"git.sr.ht/~rjarry/aerc/config"
@@ -145,10 +146,10 @@ func NewMessageViewer(
grid.AddChild(header).At(0, 0)
if msg.MessageDetails() != nil || acct.UiConfig().IconUnencrypted != "" {
grid.AddChild(NewPGPInfo(msg.MessageDetails(), acct.UiConfig())).At(1, 0)
- grid.AddChild(ui.NewFill(borderChar, borderStyle)).At(2, 0)
+ grid.AddChild(ui.NewFill(borderChar, tcell.VaxisStyle(borderStyle))).At(2, 0)
grid.AddChild(switcher).At(3, 0)
} else {
- grid.AddChild(ui.NewFill(borderChar, borderStyle)).At(1, 0)
+ grid.AddChild(ui.NewFill(borderChar, tcell.VaxisStyle(borderStyle))).At(1, 0)
grid.AddChild(switcher).At(2, 0)
}