diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-31 15:40:18 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-31 16:44:53 -0500 |
commit | b01a60b1aaaa6152b58af96c5054f697bbc3a31e (patch) | |
tree | 125cace41e958056812accbeb5876e154a1be85d /test/functional/ui/screen.lua | |
parent | 27548e3cd04a789951decfe6de55f9cf88f516c4 (diff) | |
download | rneovim-b01a60b1aaaa6152b58af96c5054f697bbc3a31e.tar.gz rneovim-b01a60b1aaaa6152b58af96c5054f697bbc3a31e.tar.bz2 rneovim-b01a60b1aaaa6152b58af96c5054f697bbc3a31e.zip |
Revert "vim-patch:8.1.0822: peeking and flushing output slows down execution"
This reverts commit 0519a75f6eca1065a4d0184f99c71ae03a99b9b1.
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 5104c58796..8fa9fcc42f 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -807,9 +807,7 @@ function Screen:_handle_mouse_off() end function Screen:_handle_mode_change(mode, idx) - if self._mode_info ~= nil then - assert(mode == self._mode_info[idx+1].name) - end + assert(mode == self._mode_info[idx+1].name) self.mode = mode end |