'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

@@ -144,6 +144,7 @@ describe('ui/cursor', function()
}
-- Default 'guicursor' published on startup.
eq(expected_cursor_style, screen._cursor_style)
eq(true, screen._cursor_style_enabled)
eq('normal', screen.mode)
-- Event is published ONLY if the cursor style changed.