mirror of
https://github.com/neovim/neovim.git
synced 2025-10-13 13:26:06 +00:00
fix(cmdline): do not move UI cursor when entering cmdline #33729
Problem: Cursor is still moved to curwin when entering cmdline (after d41b8d47
).
Solution: Remove call to `setcursor()`.
This commit is contained in:
@@ -795,7 +795,6 @@ static uint8_t *command_line_enter(int firstc, int count, int indent, bool clear
|
||||
}
|
||||
|
||||
setmouse();
|
||||
setcursor();
|
||||
|
||||
s->cmdline_type = firstc > 0 ? firstc : '-';
|
||||
Error err = ERROR_INIT;
|
||||
|
Reference in New Issue
Block a user