From 344906a08f0972108eb912c87af32b275ecf318e Mon Sep 17 00:00:00 2001 From: luukvbaal Date: Sun, 21 Apr 2024 02:15:18 +0200 Subject: 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. --- test/functional/api/window_spec.lua | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'test/functional/api') 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()') - 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() -- cgit