feat(ex_cmds): :sleep! hides the cursor while sleeping (#31493)

Problem:  :sleep! not hiding the cursor is an arbitrary difference from
          Vim without obvious justification, and Vim's behavior isn't
          easily achievable in Nvim.
Solution: Make :sleep! hide the cursor while sleeping.

Ref:
6a01b3fcc3
b5c0ade437
This commit is contained in:
zeertzjq
2024-12-07 21:42:44 +08:00
committed by GitHub
parent 92e61072ac
commit 4817547ec4
5 changed files with 40 additions and 4 deletions

View File

@@ -670,7 +670,6 @@ Commands:
- :promptrepl
- :scriptversion (always version 1)
- :shell
- :sleep! (does not hide the cursor; same as :sleep)
- :smile
- :tearoff
- :cstag