'guicursor': enabled=false if 'guicursor' is empty

Closes #6429
Closes #6430
This commit is contained in:
Justin M. Keyes
2017-04-03 16:16:21 +02:00
parent 9d560d5c6b
commit 3ccd59ee82
8 changed files with 49 additions and 42 deletions

View File

@@ -345,7 +345,8 @@ function Screen:_handle_resize(width, height)
}
end
function Screen:_handle_cursor_style_set(style)
function Screen:_handle_cursor_style_set(enabled, style)
self._cursor_style_enabled = enabled
self._cursor_style = style
end