From 7544040ba1de6492e33b263fca6f2b7390507396 Mon Sep 17 00:00:00 2001 From: Ani Channarasappa Date: Sun, 14 Mar 2021 15:52:38 -0400 Subject: [PATCH] fix: duplicate footer --- internal/ui/ui.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/ui/ui.go b/internal/ui/ui.go index 3d2434a..f635af0 100644 --- a/internal/ui/ui.go +++ b/internal/ui/ui.go @@ -23,7 +23,7 @@ var ( ) const ( - footerHeight = 0 + footerHeight = 1 ) type Model struct { @@ -142,8 +142,8 @@ func (m Model) View() string { viewSummary += m.summary.View() } - return viewSummary + - m.viewport.View() + + return viewSummary + "\n" + + m.viewport.View() + "\n" + footer(m.viewport.Width, m.lastUpdateTime) }