-
-
Notifications
You must be signed in to change notification settings - Fork 6k
E315 ml_get:invalid_lnum: [number] in terminal buffer [again^2] #17099
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce
vim --clean -c ':set mouse=a ruler termwinscroll=100000' -c ':term'- in the top terminal run
seq 99900 <c-w>Nto goto terminal normal mode (ensure line number displayed in the ruler is >99900), thenisleep 3;seq 800, then click to the other window (blank buffer) before thesleepis doneZZto quit that buffer. This will trigger resizing the terminal and E315.
Expected behaviour
no error happened
Version of Vim
9.1.1071
Side note: the previous issue #16024 was fixed in 9.1.1062. Indeed the instruction in that issue does not reproduce this issue.
Another variant that reproduces the issue is the following:
vim --clean -c ':set mouse=a ruler termwinscroll=100000' -c ':new' -c ':term'- in the top terminal run
seq 99900 <c-w>Nto goto terminal normal mode (ensure line number displayed in the ruler is >99900), thenisleep 3;seq 800, then click to the bottommost window (blank buffer) before thesleepis done- use the mouse to drag the horizontal splitter between the center window and the bottommost window upward in such a way that it pushes the other horizontal splitter upward, causing the terminal to be resized.
Environment
Linux, xterm
Reactions are currently unavailable