diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-04 15:26:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 15:26:32 +0200 |
commit | 4566f7c7cda2c3a181ec58998f7c93dd17500153 (patch) | |
tree | 049ef60e8dd071342b5c075592c035715d676fef /src/nvim/ui.c | |
parent | 9d560d5c6b02d34690ca47ee6f32e31ee4a6d90e (diff) | |
parent | a7f34e199144bfb657c180cdc1413093fd34bdf9 (diff) | |
download | rneovim-4566f7c7cda2c3a181ec58998f7c93dd17500153.tar.gz rneovim-4566f7c7cda2c3a181ec58998f7c93dd17500153.tar.bz2 rneovim-4566f7c7cda2c3a181ec58998f7c93dd17500153.zip |
Merge #6432 from justinmk/guicursor
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index babb4efa96..28f71b7ef2 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -381,7 +381,8 @@ void ui_cursor_goto(int new_row, int new_col) void ui_cursor_style_set(void) { Dictionary style = cursor_shape_dict(); - UI_CALL(cursor_style_set, style); + bool enabled = (*p_guicursor != NUL); + UI_CALL(cursor_style_set, enabled, style); api_free_dictionary(style); } |