mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
fix(cmdline): do not move UI cursor when entering cmdline #33729
Problem: Cursor is still moved to curwin when entering cmdline (afterd41b8d47
). Solution: Remove call to `setcursor()`. (cherry picked from commit0015a105ca
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
0fbc78caa1
commit
4b6caa913c
@@ -125,8 +125,8 @@ describe('ui/ext_messages', function()
|
||||
feed(':%s/i/X/gc<cr>')
|
||||
screen:expect({
|
||||
grid = [[
|
||||
l{2:^i}ne 1 |
|
||||
l{10:i}ne 2 |
|
||||
l{2:i}ne 1 |
|
||||
l{10:i}ne ^2 |
|
||||
{1:~ }|*3
|
||||
]],
|
||||
cmdline = {
|
||||
@@ -1348,7 +1348,7 @@ stack traceback:
|
||||
feed('z=')
|
||||
screen:expect({
|
||||
grid = [[
|
||||
{100:^helllo} |
|
||||
{100:helll^o} |
|
||||
{1:~ }|*4
|
||||
]],
|
||||
cmdline = {
|
||||
@@ -1371,7 +1371,7 @@ stack traceback:
|
||||
feed('1')
|
||||
screen:expect({
|
||||
grid = [[
|
||||
{100:^helllo} |
|
||||
{100:helll^o} |
|
||||
{1:~ }|*4
|
||||
]],
|
||||
cmdline = {
|
||||
|
Reference in New Issue
Block a user