diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-09 09:51:11 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-12 09:47:41 -0300 |
commit | d992213678ecd14902ae74ff765e682fb76d5ad9 (patch) | |
tree | 4d168ce56813e7ffd588606ca1243665e92ea66a /test | |
parent | abc147a9775ef7de221443ff68ddfbc8ff6e0177 (diff) | |
download | rneovim-d992213678ecd14902ae74ff765e682fb76d5ad9.tar.gz rneovim-d992213678ecd14902ae74ff765e682fb76d5ad9.tar.bz2 rneovim-d992213678ecd14902ae74ff765e682fb76d5ad9.zip |
ui: Reimplement `:suspend` command for remote UIs.
- Remove suspend method from the UI protocol
- Handle `:suspend` by disconnecting the last channel that sent a request to
nvim.
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/screen.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 04d89d8331..5d139b367f 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -99,7 +99,6 @@ function Screen.new(width, height) _mouse_enabled = true, _bell = false, _visual_bell = false, - _suspended = true, _attrs = {}, _cursor = { enabled = true, row = 1, col = 1 @@ -116,12 +115,10 @@ end function Screen:attach() request('ui_attach', self._width, self._height, true) - self._suspended = false end function Screen:detach() request('ui_detach') - self._suspended = true end function Screen:expect(expected, attr_ids) @@ -286,10 +283,6 @@ function Screen:_handle_update_bg(bg) self._bg = bg end -function Screen:_handle_suspend() - self._suspended = true -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) |