aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-03-16 08:29:57 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-03-16 08:29:57 -0300
commit5199456471a5c484a10e3590d20767c6a78d34e0 (patch)
treee3a20ecbd53e72c8b552abc8fc518ca0eba2b23e /test/functional/ui/screen.lua
parent7eee9c2a220fd1f0e600ae365e996fb56aa4cec1 (diff)
downloadrneovim-5199456471a5c484a10e3590d20767c6a78d34e0.tar.gz
rneovim-5199456471a5c484a10e3590d20767c6a78d34e0.tar.bz2
rneovim-5199456471a5c484a10e3590d20767c6a78d34e0.zip
test: Only display cursor marker in screen tests if nvim is not busy
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index 7ba90abde2..2cebaf048c 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -417,7 +417,7 @@ function Screen:_row_repr(row, attr_ids, attr_ignore)
table.insert(rv, '{' .. attr_id .. ':')
current_attr_id = attr_id
end
- if self._rows[self._cursor.row] == row and self._cursor.col == i then
+ if not self._busy and self._rows[self._cursor.row] == row and self._cursor.col == i then
table.insert(rv, '^')
end
table.insert(rv, row[i].text)