editor: Hide mouse cursor also for movements and selections (#27677)

This enables hiding mouse cursor even on cursor movements like up, down,
etc. or selections made using keyboard, etc.

Renamed existing boolean setting "hide_mouse_while_typing" to
"hide_mouse". It can have three values: `on_typing_and_movement`,
`on_typing`, `never`.

Release Notes:

- Now mouse cursor hides even when you navigate, or make selections
using keyboard in editor. This behavior can be changed by setting
`hide_mouse` to `on_typing_and_movement`, `on_typing` or `never`.
This commit is contained in:
Smit Barmase 2025-03-29 06:53:36 -07:00 committed by GitHub
parent 7fe6188f8e
commit 4970fe2d56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 264 additions and 44 deletions

View file

@ -553,11 +553,11 @@ List of `string` values
"cursor_shape": "hollow"
```
## Hide Mouse While Typing
## Hide Mouse
- Description: Determines whether the mouse cursor should be hidden while typing in an editor or input box.
- Setting: `hide_mouse_while_typing`
- Default: `true`
- Description: Determines when the mouse cursor should be hidden in an editor or input box.
- Setting: `hide_mouse`
- Default: `on_typing_and_movement`
**Options**