aboutsummaryrefslogtreecommitdiff
path: root/test/functional/shell/viml_system_spec.lua
diff options
context:
space:
mode:
authorFlorian Larysch <fl@n621.de>2016-10-05 18:37:13 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-10-06 15:57:24 +0200
commite83845285cf38954f79abc5b6e2cef019556e301 (patch)
tree7e4161d20604c22727412fc2adc4fcef55cb611e /test/functional/shell/viml_system_spec.lua
parent2ef1b68751ba1817b18bb797dccc45c3a66c9fd8 (diff)
downloadrneovim-e83845285cf38954f79abc5b6e2cef019556e301.tar.gz
rneovim-e83845285cf38954f79abc5b6e2cef019556e301.tar.bz2
rneovim-e83845285cf38954f79abc5b6e2cef019556e301.zip
tui/flush_buf: Don't toggle cursor when called from out() #5436
unibi_format() calls out() multiple times for a given format string. When data->buf fills up during this process, flush_buf() gets called, which possibly calls unibi_out() again to toggle the cursor visibility. However, if we were halfway through outputting an escape sequence, doing this will clobber it, resulting in junk being displayed. Fix this by not toggling the cursor visibility when draining a full buffer in out().
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
0 files changed, 0 insertions, 0 deletions