aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/window_spec.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2024-04-21 02:15:18 +0200
committerGitHub <noreply@github.com>2024-04-21 08:15:18 +0800
commit344906a08f0972108eb912c87af32b275ecf318e (patch)
tree6eb6b897b1a1c0082c6ce8c9986082983bb08ada /test/functional/api/window_spec.lua
parent9e1bbb9813e0ea4e37f6325fe00e8f43617ef912 (diff)
downloadrneovim-344906a08f0972108eb912c87af32b275ecf318e.tar.gz
rneovim-344906a08f0972108eb912c87af32b275ecf318e.tar.bz2
rneovim-344906a08f0972108eb912c87af32b275ecf318e.zip
fix(api): do not update grid position in nvim_win_set_cursor (#28235)
Revert commit c971f538ab87b537ae4c97bd44167661c5691a2d. Forcing grid cursor position will need a new API like originally proposed in #27858.
Diffstat (limited to 'test/functional/api/window_spec.lua')
-rw-r--r--test/functional/api/window_spec.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/functional/api/window_spec.lua b/test/functional/api/window_spec.lua
index 14bb0c8697..36966b68f5 100644
--- a/test/functional/api/window_spec.lua
+++ b/test/functional/api/window_spec.lua
@@ -257,21 +257,6 @@ describe('API/win', function()
-- curwin didn't change back
neq(win, curwin())
-
- -- shows updated position after getchar() #20793
- feed(':call getchar()<CR>')
- api.nvim_win_set_cursor(win, { 1, 5 })
- screen:expect {
- grid = [[
- |
- {1:~ }|*2
- {2:[No Name] }|
- prolo^gue |
- |*2
- {3:[No Name] [+] }|
- :call getchar() |
- ]],
- }
end)
it('remembers what column it wants to be in', function()