Remove extra height and positioning stuff

This commit is contained in:
Christian Rocha 2020-06-19 19:11:34 -04:00 committed by Christian Muehlhaeuser
commit dd828966eb

View file

@ -121,8 +121,6 @@ func (m *pagerModel) setSize(w, h int) {
m.height = h
m.viewport.Width = w
m.viewport.Height = h - statusBarHeight
m.viewport.YPosition = 0
m.viewport.Height = h - statusBarHeight
m.textInput.Width = w - len(noteHeadingText) - len(notePromptText) - 1
if m.showHelp {