summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-08-23 14:09:47 +1000
committerMaxime Coste <mawww@kakoune.org>2023-08-23 14:13:22 +1000
commit9c0c6b8fd5a7ea8b819798add9f0605da749062b (patch)
treefb1e95ea1f0adeff258a4f0147be64e42f0ff60b /src/normal.cc
parent1e38045d702ec6eb2425016d9b02636270ab1b1e (diff)
Revert "Only make cursor visible after buffer or selection change"
This is currently broken on various corner cases and breaks the "master branch should be good for day to day work" implicit rule, ongoing work to stabilize this feature will take place on the no-cursor-move-on-scroll branch until its deemed ready. This reverts commit 1e38045d702ec6eb2425016d9b02636270ab1b1e. Closes #4963
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 8b26b1ff..b16b9c37 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -848,7 +848,7 @@ void regex_prompt(Context& context, String prompt, char reg, T func)
{
selections.update();
context.selections_write_only() = selections;
- if (context.has_window() and event != PromptEvent::Validate)
+ if (context.has_window())
context.window().set_position(position);
context.input_handler().set_prompt_face(context.faces()["Prompt"]);