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:
luukvbaal
2025-04-30 13:51:14 +02:00
committed by GitHub
parent 272dba7f07
commit 0015a105ca
2 changed files with 4 additions and 5 deletions

View File

@@ -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;