feat(api): add forward and back mouse buttons

This commit is contained in:
Amanda Graven
2023-11-28 21:05:33 +01:00
parent 3a4aa3fc58
commit 428edcde70
6 changed files with 31 additions and 4 deletions

View File

@ -1375,7 +1375,7 @@ function vim.api.nvim_input(keys) end
--- processed soon by the event loop.
---
--- @param button string Mouse button: one of "left", "right", "middle", "wheel",
--- "move".
--- "move", "x1", "x2".
--- @param action string For ordinary buttons, one of "press", "drag", "release".
--- For the wheel, one of "up", "down", "left", "right".
--- Ignored for "move".