From 5199456471a5c484a10e3590d20767c6a78d34e0 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Mon, 16 Mar 2015 08:29:57 -0300 Subject: test: Only display cursor marker in screen tests if nvim is not busy --- test/functional/ui/screen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/ui') 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) -- cgit