From fa04a1e036a418258451466d99de34a9546a9965 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 30 Mar 2019 14:12:04 -0400 Subject: Add basic message viewer mockup --- commands/account/pipe.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'commands/account') diff --git a/commands/account/pipe.go b/commands/account/pipe.go index ab2518b1..60ac7932 100644 --- a/commands/account/pipe.go +++ b/commands/account/pipe.go @@ -41,12 +41,11 @@ func Pipe(aerc *widgets.Aerc, args []string) error { Color(tcell.ColorDefault, tcell.ColorRed) return } - host := widgets.NewTermHost(term, aerc.Config()) name := msg.Subject() if len(name) > 12 { name = name[:12] } - aerc.NewTab(host, args[1] + " <" + name) + aerc.NewTab(term, args[1] + " <" + name) term.OnClose = func(err error) { if err != nil { aerc.PushStatus(" "+err.Error(), 10*time.Second). -- cgit