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
Adjust the window's height to half of its original size
Open Vim and load any text file that spans more than one screen in height.
Scroll down using the down arrow key until the content exceeds one screen height.
Exit Vim, reopen the same file, and repeat step 2. You may notice that some lines are missing from the display.
FYI
Upon reviewing your source code, I discovered that the "willBufferBeTrimmed" variable in the Terminal.swift file is set to false during window resizing. This results in an increase in the buffer.yDisp value when scrolling past the point where the number of rows exceeds the height of one screen. However, if I first resize the window to a larger size and then resize it back to a smaller one, "willBufferBeTrimmed" becomes true, and everything functions correctly. This issue persists regardless of how many times I repeat the process.
This may help you identify the issue.
The text was updated successfully, but these errors were encountered:
FYI
Upon reviewing your source code, I discovered that the "willBufferBeTrimmed" variable in the Terminal.swift file is set to false during window resizing. This results in an increase in the buffer.yDisp value when scrolling past the point where the number of rows exceeds the height of one screen. However, if I first resize the window to a larger size and then resize it back to a smaller one, "willBufferBeTrimmed" becomes true, and everything functions correctly. This issue persists regardless of how many times I repeat the process.
This may help you identify the issue.
The text was updated successfully, but these errors were encountered: