diff --git a/cmd/readis/model.go b/cmd/readis/model.go index 56b7199..d9a5371 100644 --- a/cmd/readis/model.go +++ b/cmd/readis/model.go @@ -98,7 +98,7 @@ func (m *model) resizeViews() { // Update rightHandWidth (also used for styling the status block) rightHandWidth = m.windowWidth - hMargin - leftHandWidth() - viewportWidth := rightHandWidth + viewportWidth := rightHandWidth + viewportStyle.GetHorizontalBorderSize() viewportHeight := keylistHeight - headerHeight m.viewport = viewport.New(viewportWidth, viewportHeight) m.viewport.Style = viewportStyle.Width(viewportWidth) diff --git a/docs/demo.gif b/docs/demo.gif index ae83d95..15fd40f 100644 Binary files a/docs/demo.gif and b/docs/demo.gif differ