aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/luaeval_spec.lua
diff options
context:
space:
mode:
authorNick Krichevsky <nick@ollien.com>2026-04-26 14:59:28 -0400
committerbfredl <bjorn.linse@gmail.com>2026-05-19 11:45:56 +0200
commit24f7182390d4720433ced750e9e027845aef8eff (patch)
tree8ad0187448aa8a449186b7e50ff3676bf496b945 /test/functional/lua/luaeval_spec.lua
parent16d17c50bbccc0c3195656f09660babf45b5f803 (diff)
downloadrneovim-24f7182390d4720433ced750e9e027845aef8eff.tar.gz
rneovim-24f7182390d4720433ced750e9e027845aef8eff.tar.bz2
rneovim-24f7182390d4720433ced750e9e027845aef8eff.zip
fix(mouse): mouse=n should not adjust visual selection
Problem: When mouse=n is set - Dragging the mouse enters visual mode, and then stops listening for mouse events. - Double/Triple/Quad clicking performs selections. - Clicking in visual mode moves the cursor (though not through the TUI). Solution: Explicitly gate mouse actions that affect visual mode with a check for MOUSE_VISUAL. This matches the behavior described in :help mouse. > If enabled for "v" (Visual mode) then double-click selects word-wise, > triple-click makes it line-wise, and quadruple-click makes it > rectangular block-wise.
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
0 files changed, 0 insertions, 0 deletions