diff options
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 4163d8011a..3a39cd0aa6 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -115,6 +115,8 @@ function Screen.new(width, height) _bell = false, _visual_bell = false, _suspended = true, + _title = nil, + _icon = nil, _attrs = {}, _cursor = { enabled = true, row = 1, col = 1 @@ -306,6 +308,14 @@ function Screen:_handle_suspend() self._suspended = true end +function Screen:_handle_set_title(title) + self._title = title +end + +function Screen:_handle_set_icon(icon) + self._icon = icon +end + function Screen:_clear_block(top, lines, left, columns) for i = top, top + lines - 1 do self:_clear_row_section(i, left, left + columns - 1) |