aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/statuscolumn_spec.lua
diff options
context:
space:
mode:
authorfredizzimo <fsundvik@gmail.com>2023-07-23 11:01:51 -0400
committerGitHub <noreply@github.com>2023-07-23 23:01:51 +0800
commitf2ce31d3dc1c728c33c0910e1a9970f0eb2e3f11 (patch)
tree239d789a44c03cf302bc88395a1856f31f79f402 /test/functional/ui/statuscolumn_spec.lua
parent59289fb987bd51b072f91ae0de8ee8515bf07e21 (diff)
downloadrneovim-f2ce31d3dc1c728c33c0910e1a9970f0eb2e3f11.tar.gz
rneovim-f2ce31d3dc1c728c33c0910e1a9970f0eb2e3f11.tar.bz2
rneovim-f2ce31d3dc1c728c33c0910e1a9970f0eb2e3f11.zip
fix(terminal): call validate_cursor() before screen update (#24425)
Problem: When the CurSearch highlight group is set, and a search is active and you are listening to the remote UI "win_viewport" events, then typing is very unresponsive, because "win_viewport" is not sent as soon as the character is typed. On the other hand if you refresh the screen on "flush", the screen will scroll with a delay since "win_viewport" comes too late. I estimate this delay be up to one second, but it varies. Solution: Call validate_cursor() before drawing the screen, just like other modes. No tests have been added because only the intermediate state is wrong.
Diffstat (limited to 'test/functional/ui/statuscolumn_spec.lua')
0 files changed, 0 insertions, 0 deletions