mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: Only display cursor marker in screen tests if nvim is not busy
This commit is contained in:
parent
7eee9c2a22
commit
5199456471
@ -93,7 +93,7 @@ describe('system()', function()
|
|||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
^:call system("yes") |
|
:call system("yes") |
|
||||||
]])
|
]])
|
||||||
feed('<c-c>')
|
feed('<c-c>')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
@ -259,7 +259,7 @@ describe('systemlist()', function()
|
|||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
^:call systemlist("yes | xargs") |
|
:call systemlist("yes | xargs") |
|
||||||
]])
|
]])
|
||||||
feed('<c-c>')
|
feed('<c-c>')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
|
@ -417,7 +417,7 @@ function Screen:_row_repr(row, attr_ids, attr_ignore)
|
|||||||
table.insert(rv, '{' .. attr_id .. ':')
|
table.insert(rv, '{' .. attr_id .. ':')
|
||||||
current_attr_id = attr_id
|
current_attr_id = attr_id
|
||||||
end
|
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, '^')
|
table.insert(rv, '^')
|
||||||
end
|
end
|
||||||
table.insert(rv, row[i].text)
|
table.insert(rv, row[i].text)
|
||||||
|
Loading…
Reference in New Issue
Block a user