From 8389a3b41910362667614179abee6f433c5d1ffe Mon Sep 17 00:00:00 2001 From: Edouard Paris Date: Mon, 1 Apr 2019 18:36:12 +0200 Subject: [PATCH] fix view header: clear --- ui/views/header.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/views/header.go b/ui/views/header.go index 5d02883..382b5d3 100644 --- a/ui/views/header.go +++ b/ui/views/header.go @@ -49,6 +49,7 @@ func (h *Header) Set(g *gocui.Gui, x0, y0, x1, y1 int) error { sync = color.Green("[synced]") } + v.Clear() fmt.Fprintln(v, fmt.Sprintf("%s %s %s %s %s %s", color.CyanBg(h.Info.Alias), color.Cyan(fmt.Sprintf("%s-v%s", "lnd", version)),