mirror of
https://github.com/neovim/neovim.git
synced 2026-02-20 09:19:43 +10:00
Merge pull request #9883 from bfredl/termredraw
make terminal state redraw like any other state
This commit is contained in:
@@ -163,12 +163,14 @@ describe('search highlighting', function()
|
||||
]])
|
||||
feed('/foo')
|
||||
sleep(50) -- Allow some terminal activity.
|
||||
-- NB: in earlier versions terminal output was redrawn during cmdline mode.
|
||||
-- For now just assert that the screens remain unchanged.
|
||||
screen:expect([[
|
||||
{3:foo} bar baz {3:│}xxx |
|
||||
bar baz {2:foo} {3:│}xxx |
|
||||
bar {2:foo} baz {3:│}xxx |
|
||||
{3:│}xxx |
|
||||
{1:~ }{3:│}xxx |
|
||||
{3:foo} bar baz {3:│} |
|
||||
bar baz {2:foo} {3:│} |
|
||||
bar {2:foo} baz {3:│} |
|
||||
{3:│} |
|
||||
{1:~ }{3:│} |
|
||||
{5:[No Name] [+] }{3:term }|
|
||||
/foo^ |
|
||||
]], { [1] = {bold = true, foreground = Screen.colors.Blue1},
|
||||
|
||||
@@ -95,10 +95,12 @@ describe("'wildmenu'", function()
|
||||
|
||||
feed([[<C-\><C-N>gg]])
|
||||
feed([[:sign <Tab>]]) -- Invoke wildmenu.
|
||||
-- NB: in earlier versions terminal output was redrawn during cmdline mode.
|
||||
-- For now just assert that the screen remains unchanged.
|
||||
expect_stay_unchanged{grid=[[
|
||||
foo |
|
||||
foo |
|
||||
foo |
|
||||
|
|
||||
|
|
||||
|
|
||||
define jump list > |
|
||||
:sign define^ |
|
||||
]]}
|
||||
|
||||
Reference in New Issue
Block a user