Skip to content

Commit

Permalink
fix: duplicate footer
Browse files Browse the repository at this point in the history
  • Loading branch information
achannarasappa committed Mar 14, 2021
1 parent ac6e26d commit 7544040
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
)

const (
footerHeight = 0
footerHeight = 1
)

type Model struct {
Expand Down Expand Up @@ -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)

}
Expand Down

0 comments on commit 7544040

Please sign in to comment.