Skip to content

Commit

Permalink
tui: fix dimensions send from viewport to list
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Apr 29, 2023
1 parent a938e56 commit 12a302b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tui/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
case key.Matches(msg, DefaultKeyMap.Bottom):
m.Viewport.GotoBottom()
case key.Matches(msg, DefaultKeyMap.LinksView):
m.list.SetSize(m.Viewport.Width, m.Viewport.Height)
m.list.SetSize(m.Viewport.Width, m.Viewport.Height+1)
m.onLinkScreen = !m.onLinkScreen
}
// update progress bar on movement
Expand Down

0 comments on commit 12a302b

Please sign in to comment.