Dispell a magic number

This commit is contained in:
Christian Rocha 2020-06-20 15:21:30 -04:00 committed by Christian Muehlhaeuser
parent 048b484df2
commit fa06996383

View file

@ -124,7 +124,7 @@ func (m *pagerModel) setSize(w, h int) {
m.textInput.Width = w - len(noteHeadingText) - len(notePromptText) - 1
if m.showHelp {
m.viewport.Height -= pagerHelpHeight + 1
m.viewport.Height -= (statusBarHeight + pagerHelpHeight)
}
}