aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-02 02:32:36 +0200
committerGitHub <noreply@github.com>2017-04-02 02:32:36 +0200
commit58422f17d8e7e5f2dcba099b8829e5d23554e980 (patch)
tree0ba8bc13df4a3712b182e17ca65ce9ca7fe45ecd /test/functional/ui/screen.lua
parenta7569b50b769b61a2f10a024fab040443bd3e906 (diff)
parent3a69dbfca6642463ca8e19f814f71791f66332f3 (diff)
downloadrneovim-58422f17d8e7e5f2dcba099b8829e5d23554e980.tar.gz
rneovim-58422f17d8e7e5f2dcba099b8829e5d23554e980.tar.bz2
rneovim-58422f17d8e7e5f2dcba099b8829e5d23554e980.zip
Merge #6423 from justinmk/guicursor
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index 54f43387dc..3f8173c8e2 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -313,6 +313,8 @@ function Screen:_redraw(updates)
if handler ~= nil then
handler(self, unpack(update[i]))
else
+ assert(self._on_event,
+ "Add Screen:_handle_XXX method or call Screen:set_on_event_handler")
self._on_event(method, update[i])
end
end
@@ -343,6 +345,10 @@ function Screen:_handle_resize(width, height)
}
end
+function Screen:_handle_cursor_style_set(style)
+ self._cursor_style = style
+end
+
function Screen:_handle_clear()
self:_clear_block(self._scroll_region.top, self._scroll_region.bot,
self._scroll_region.left, self._scroll_region.right)