diff options
author | James McCoy <jamessan@jamessan.com> | 2017-01-25 11:15:05 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-01-25 11:15:05 -0500 |
commit | fd2d4c5ab93a2602cc19d0f48062ff37087dae30 (patch) | |
tree | fcf2c8f0492eb70e817ea71b78cbf8fb724f6478 /src/nvim/api/buffer.c | |
parent | 25427ae892ccbb537a718c8abfbd4c79d9f94091 (diff) | |
download | rneovim-fd2d4c5ab93a2602cc19d0f48062ff37087dae30.tar.gz rneovim-fd2d4c5ab93a2602cc19d0f48062ff37087dae30.tar.bz2 rneovim-fd2d4c5ab93a2602cc19d0f48062ff37087dae30.zip |
tui: Ignore DECRST 12 in terminfo's cursor_normal, if present
As discussed in neovim/neovim#5977, it's typical for the terminfo
database to disable cursor blink as part of setting up the normal
cursor. Since this interferes with the user's control over the cursor,
we'll skip over DECRST 12 if it starts the cursor_normal entry.
Note, this doesn't handle any case where DECRST 12 is not at the start
of the entry since unibilium simply stores the given pointer. We would
need to allocate (and somewhere free) a modified copy of what we get
back from unibi_get_str to handle that.
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions