test: tty-test.c: keep tty_out handle around

Now the window_split_tab_spec.lua test seems to work.
Also do some cleanup.
This commit is contained in:
Justin M. Keyes
2017-08-13 15:24:25 +02:00
parent d2d76882f7
commit 91c85a6378
2 changed files with 11 additions and 54 deletions

View File

@@ -68,7 +68,6 @@ describe('terminal', function()
describe('when the screen is resized', function()
it('will forward a resize request to the program', function()
if helpers.pending_win32(pending) then return end
feed([[<C-\><C-N>:]]) -- Go to cmdline-mode, so cursor is at bottom.
screen:try_resize(screen._width - 3, screen._height - 2)
screen:expect([[