You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
more-prompt pager swallows empty newlines when scrolling up (PageUp / b) #21315
Run Vim directly from the terminal with the expression:
vim --clean '+echo join(range(1, 1000), "\n\n")'
Press f (or Space / PageDown) to scroll down through the message pager. Note that numbers are separated by empty lines as expected.
Press b (or PageUp) to scroll back up.
Actual behavior
When scrolling up (PageUp), all empty line separators vanish from the rendered screen area. If you then scroll down (PageDown) into previously unrendered text, their blank lines appear, but vanish again as soon as you scroll backward over them.
Expected behaviour
The text should retain its exact formatting (including empty newlines) when scrolling back up.
Activity
zeertzjq commentedon Sep 15, 2026
This seems caused by patch 9.0.0595
akasakariko commentedon Oct 4, 2026
I'd like to work on this
message pager drops blank separators when scrolling back
patch 9.2.1195: message pager drops blank separators when scrolling back
vim-patch:9.2.1195: message pager drops blank separators when scrolli…
vim-patch:9.2.1195: message pager drops blank separators when scrolli…