mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.2366: when using ":sleep" the cursor is always displayed
Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes #7688)
This commit is contained in:
@@ -993,7 +993,7 @@ getcount:
|
||||
// something different from CTRL-N. Can't be avoided.
|
||||
while ((c = vpeekc()) <= 0 && towait > 0L)
|
||||
{
|
||||
do_sleep(towait > 50L ? 50L : towait);
|
||||
do_sleep(towait > 50L ? 50L : towait, FALSE);
|
||||
towait -= 50L;
|
||||
}
|
||||
if (c > 0)
|
||||
@@ -6230,7 +6230,7 @@ nv_g_cmd(cmdarg_T *cap)
|
||||
* "gs": Goto sleep.
|
||||
*/
|
||||
case 's':
|
||||
do_sleep(cap->count1 * 1000L);
|
||||
do_sleep(cap->count1 * 1000L, FALSE);
|
||||
break;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user