summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-09-08 05:23:49 +1000
committerMaxime Coste <mawww@kakoune.org>2023-09-08 05:24:56 +1000
commit9b1f4f5f204072ceec6481c2b57a7c4c66d8feab (patch)
treecc789f3263d00bd76aacfe0a47ea0f34b3c8ba25 /src/normal.cc
parent20a2bca52e0d159cdbab4ff6d38024cd1503a4f5 (diff)
Do not make cursor visible on force redraw
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 81caeb2d..fbe83228 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -2209,6 +2209,7 @@ void force_redraw(Context& context, NormalParams)
{
if (context.has_client())
{
+ context.ensure_cursor_visible = false;
context.client().force_redraw(true);
context.client().redraw_ifn();
}