mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.0468: GUI: pixel dust with some fonts and characters
Problem: GUI: pixel dust with some fonts and characters. Solution: Always redraw the character before the cursor. (Nir Lichtman, closes #5549, closes #5856)
This commit is contained in:
@@ -2788,11 +2788,10 @@ give_up:
|
||||
&& ScreenLines != NULL
|
||||
&& old_Rows != Rows)
|
||||
{
|
||||
(void)gui_redraw_block(0, 0, (int)Rows - 1, (int)Columns - 1, 0);
|
||||
/*
|
||||
* Adjust the position of the cursor, for when executing an external
|
||||
* command.
|
||||
*/
|
||||
gui_redraw_block(0, 0, (int)Rows - 1, (int)Columns - 1, 0);
|
||||
|
||||
// Adjust the position of the cursor, for when executing an external
|
||||
// command.
|
||||
if (msg_row >= Rows) // Rows got smaller
|
||||
msg_row = Rows - 1; // put cursor at last row
|
||||
else if (Rows > old_Rows) // Rows got bigger
|
||||
|
Reference in New Issue
Block a user