diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-16 21:07:25 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-17 12:42:28 -0500 |
commit | 6a01b3fcc361960e559db459e1524418bc76dd66 (patch) | |
tree | 08a4c41c884ad9580292be36828317c044406dfa /src/nvim/ex_cmds.lua | |
parent | abcd982bf0689b31d2d2464a536ea199fe4b50e7 (diff) | |
download | rneovim-6a01b3fcc361960e559db459e1524418bc76dd66.tar.gz rneovim-6a01b3fcc361960e559db459e1524418bc76dd66.tar.bz2 rneovim-6a01b3fcc361960e559db459e1524418bc76dd66.zip |
vim-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 vim/vim#7688)
https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429
Cursor showing/hiding is moved from core to TUI.
":sleep!" behaves the same as ":sleep".
Diffstat (limited to 'src/nvim/ex_cmds.lua')
-rw-r--r-- | src/nvim/ex_cmds.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 069d5d461b..e9046da800 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -2455,7 +2455,7 @@ module.cmds = { }, { command='sleep', - flags=bit.bor(RANGE, COUNT, EXTRA, TRLBAR, CMDWIN), + flags=bit.bor(BANG, RANGE, COUNT, EXTRA, TRLBAR, CMDWIN), addr_type='ADDR_OTHER', func='ex_sleep', }, |