mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
win: support :terminal
This commit is contained in:
@@ -6,8 +6,6 @@ local eval, feed_command, source = helpers.eval, helpers.feed_command, helpers.s
|
||||
local eq, neq = helpers.eq, helpers.neq
|
||||
local write_file = helpers.write_file
|
||||
|
||||
if helpers.pending_win32(pending) then return end
|
||||
|
||||
describe('terminal buffer', function()
|
||||
local screen
|
||||
|
||||
@@ -72,6 +70,7 @@ describe('terminal buffer', function()
|
||||
end)
|
||||
|
||||
it('cannot be modified directly', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
feed('<c-\\><c-n>dd')
|
||||
screen:expect([[
|
||||
tty ready |
|
||||
@@ -160,6 +159,7 @@ describe('terminal buffer', function()
|
||||
end)
|
||||
|
||||
it('handles loss of focus gracefully', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
-- Change the statusline to avoid printing the file name, which varies.
|
||||
nvim('set_option', 'statusline', '==========')
|
||||
feed_command('set laststatus=0')
|
||||
@@ -205,7 +205,7 @@ describe('terminal buffer', function()
|
||||
end)
|
||||
|
||||
describe('No heap-buffer-overflow when using', function()
|
||||
|
||||
if helpers.pending_win32(pending) then return end
|
||||
local testfilename = 'Xtestfile-functional-terminal-buffers_spec'
|
||||
|
||||
before_each(function()
|
||||
|
||||
Reference in New Issue
Block a user