New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:terminal scrolls if scrollback is full #12651
Comments
Other misbehavior I identified. When |
It's not really a bug, it's a side-effect of the fact that But I agree it should not scroll if cursor isn't at end-of-buffer. We could switch to an "alternate" buffer with a copy of the "paused" scrollback (thus for |
@justinmk any word on my previous comment? It's different behavior for normal, depending on whether the terminal buffer entered insert mode at least once or not, it just seems a bug, I can't see the reason for that. |
Not sure, but I |
@justinmk okay. For your information this is affecting some debugger interfaces where debugger/terminal windows are not scrolling because they're read-only and just receive output, they're never supposed to get into insert mode so that their scroll start to work. |
I'm encountering the scrollback issues as well. It's pretty annoying. Would one solution be to just scroll up one line (and move the visual selection one line up) when a line is evicted from the scrollback buffer and the terminal is scrolled? Would be slightly hacky, but it should work, right? |
Is there a plan to fix this or a workaround? |
I guess one workaround is to just raise |
:ver
:vim -u DEFAULTS
(version: 8.2) behaves differently?Yes, vim pauses rendering new lines of input in its terminal buffers when you go into normal mode, but I assume this is because it has a very different implementation than Neovim.
$TERM
: xterm-256colorSteps to reproduce using
nvim -u NORC
Actual behaviour
Cursor should stay on the same number.
Expected behaviour
The cursor is scrolled downwards as lines past 10000 are dropped.
The text was updated successfully, but these errors were encountered: