aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/manpages/ja/vimtutor-ja.1
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2015-03-16 21:08:58 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2015-03-18 07:10:11 -0300
commita0f2961b4fc2beabf1266faef0f543afdffd45f8 (patch)
tree624c1b7334952aa8b8a080ee46056f73fc8c3fad /runtime/doc/manpages/ja/vimtutor-ja.1
parent293a7dc134eb69839fa67381afbdeacb29f96219 (diff)
downloadrneovim-a0f2961b4fc2beabf1266faef0f543afdffd45f8.tar.gz
rneovim-a0f2961b4fc2beabf1266faef0f543afdffd45f8.tar.bz2
rneovim-a0f2961b4fc2beabf1266faef0f543afdffd45f8.zip
tui.c: Send fewer cursor-hide commands to the terminal.
Since #2158 all connected UIs are informed about the busy state of nvim. This can be used to decide whether to hide or show the cursor (in one place). In the TUI, this is tui_flush(). To prevent cursor flashing, the terminal is always redrawn with an invisible cursor. After that the cursor is shown if necessary. In the current implementation a cursor-hide command will always be the first command in the next redraw, to prevent flashing. This is not necessary. Instead we start the TUI with a hidden cursor and only need to hide the cursor in the next redraw, if the cursor was shown in the last redraw. Otherwise the cursor is still hidden. So instead of sending every redraw the cursor-hide command, we only need to send the command while not busy(a state in nvim with low frequency).
Diffstat (limited to 'runtime/doc/manpages/ja/vimtutor-ja.1')
0 files changed, 0 insertions, 0 deletions