diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-16 20:21:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-16 20:21:23 +0100 |
commit | e2edc2ed4a9a229870b1e1811b0ecf045b84e429 (patch) | |
tree | 52eb7e738360094d273506de9f81427de4ff0913 /runtime | |
parent | 70250fb4d2ffc2e92db224c6374db418f70691fd (diff) |
patch 8.2.2366: when using ":sleep" the cursor is always displayedv8.2.2366
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes #7688)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/index.txt | 2 | ||||
-rw-r--r-- | runtime/doc/various.txt | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 91d22de74b..aec4ca04af 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1590,6 +1590,8 @@ tag command action ~ |:sign| :sig[n] manipulate signs |:silent| :sil[ent] run a command silently |:sleep| :sl[eep] do nothing for a few seconds +|:sleep!| :sl[eep]! do nothing for a few seconds, without the + cursor visible |:slast| :sla[st] split window and go to last file in the argument list |:smagic| :sm[agic] :substitute with 'magic' diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index a895a5eb50..c116d69f2c 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -707,12 +707,12 @@ K Run a program to lookup the keyword under the not more than one line. [N]gs *gs* *:sl* *:sleep* -:[N]sl[eep] [N] [m] Do nothing for [N] seconds. When [m] is included, +:[N]sl[eep] [N][m] Do nothing for [N] seconds. When [m] is included, sleep for [N] milliseconds. The count for "gs" always uses seconds. The default is one second. > :sleep "sleep for one second :5sleep "sleep for five seconds - :sleep 100m "sleep for a hundred milliseconds + :sleep 100m "sleep for 100 milliseconds 10gs "sleep for ten seconds < Can be interrupted with CTRL-C (CTRL-Break on MS-Windows). "gs" stands for "goto sleep". |