mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
screen: showcmd should never move the cursor
Also restore the symmetry between grid_puts_line_start and grid_puts_line_flush.
This commit is contained in:
@@ -412,7 +412,7 @@ void pum_redraw(void)
|
||||
idx = i + pum_first;
|
||||
attr = (idx == pum_selected) ? attr_select : attr_norm;
|
||||
|
||||
screen_puts_line_start(row);
|
||||
grid_puts_line_start(&pum_grid, row);
|
||||
|
||||
// prepend a space if there is room
|
||||
if (extra_space) {
|
||||
@@ -564,7 +564,7 @@ void pum_redraw(void)
|
||||
? attr_thumb : attr_scroll);
|
||||
}
|
||||
}
|
||||
grid_puts_line_flush(&pum_grid, false);
|
||||
grid_puts_line_flush(false);
|
||||
row++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user