aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-12-23 17:13:13 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2021-01-01 15:47:44 +0100
commit6db86cb2d3d4ca152f156dc07362f8796150fae0 (patch)
treef87a1c0a009f4b0d054e53954db41ddeb25b991f /runtime
parentd0668b36a3e2d0683059baead45bea27e2358e9c (diff)
downloadrneovim-6db86cb2d3d4ca152f156dc07362f8796150fae0.tar.gz
rneovim-6db86cb2d3d4ca152f156dc07362f8796150fae0.tar.bz2
rneovim-6db86cb2d3d4ca152f156dc07362f8796150fae0.zip
ui: make 'mouse' handling in external UI more consistent
before the behaviour of 'mouse' was inconsistent in external UI, as some remapping logic would check has_mouse() and others don't (no difference in TUI or vim classic). With this change, the behaviour is consistently up to the UI decide (see ui.txt edit) Behaviour of tui.c is unaffected by this change.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/ui.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index e5c6b9b1b7..0a8584927e 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -213,11 +213,9 @@ the editor.
["mouse_on"]
["mouse_off"]
- |'mouse'| was enabled/disabled in the current editor mode. Useful for
- a terminal UI, or other situations where Nvim mouse would conflict
- with other usages of the mouse. UIs may ignore this and always send
- mouse input, because 'mouse' decides the behavior of |nvim_input()|
- implicitly.
+ 'mouse' was enabled/disabled in the current editor mode. Useful for
+ a terminal UI, or embedding into an application where Nvim mouse would
+ conflict with other usages of the mouse. Other UI:s may ignore this event.
["busy_start"]
["busy_stop"]