-
Notifications
You must be signed in to change notification settings - Fork 29
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
Cursor position shifts when resizing #8
Comments
After you resize the window (not during), did the font size become larger? |
the font size stays the same, but the spacing (both vertical and horizontal) changes. |
rygwdn
added a commit
to rygwdn/neovim-e
that referenced
this issue
Feb 21, 2015
Fixes coolwanglu#8 - Set the size in px of the canvas during resize. This avoids having the canvas stretch when the size of the window does not exactly line up with the expected size. - When handling a resize, only change the size of the window if the window size doesn't match what is expected for the current number of rows/columns - Fill the background of the window with the theme background color
fixed via #13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is pretty easy to reproduce. When I have the cursor near the right side of the window and then resize, I need to be very careful to resize the window such that the cursor remains lined up with the characters in the window, otherwise it moves off the character grid:
Working properly:
Resized horizontally:
The same issue happens vertically:
The text was updated successfully, but these errors were encountered: