From a7aeda8c7a3b2c9854d40c1c9278fd67d94aaf3d Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Thu, 5 Mar 2015 10:07:55 +0100 Subject: tests/ui: Also test character at cursor --- test/functional/ui/screen.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/functional/ui/screen.lua') diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 71703cc112..585037466e 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -418,9 +418,8 @@ function Screen:_row_repr(row, attr_ids, attr_ignore) end if self._rows[self._cursor.row] == row and self._cursor.col == i then table.insert(rv, '^') - else - table.insert(rv, row[i].text) end + table.insert(rv, row[i].text) end if current_attr_id then table.insert(rv, '}') -- cgit