mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 14:14:17 +00:00
Dispell a magic number
This commit is contained in:
parent
048b484df2
commit
fa06996383
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue