comparison src/testdir/test_terminal.vim @ 19273:a4b65930a0dc v8.2.0195

patch 8.2.0195: some tests fail when run in the GUI Commit: https://github.com/vim/vim/commit/3180fe6c6dc0728d21c6318b957022b029c234f0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 2 13:47:06 2020 +0100 patch 8.2.0195: some tests fail when run in the GUI Problem: Some tests fail when run in the GUI. Solution: Make sure the window width is enough. In the GUI run terminal Vim in the terminal, if possible.
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Feb 2020 14:00:05 +0100
parents ebeeb4b4a1fa
children 18fc30542bf5
comparison
equal deleted inserted replaced
19272:4bebe4172547 19273:a4b65930a0dc
2329 some text 2329 some text
2330 to edit 2330 to edit
2331 in a popup window 2331 in a popup window
2332 END 2332 END
2333 call writefile(text, 'Xtext') 2333 call writefile(text, 'Xtext')
2334 let cmd = GetVimCommandClean() 2334 let cmd = GetVimCommandCleanTerm()
2335 let lines = [ 2335 let lines = [
2336 \ 'call setline(1, range(20))', 2336 \ 'call setline(1, range(20))',
2337 \ 'hi PopTerm ctermbg=grey', 2337 \ 'hi PopTerm ctermbg=grey',
2338 \ 'func OpenTerm(setColor)', 2338 \ 'func OpenTerm(setColor)',
2339 \ " let buf = term_start('" .. cmd .. " Xtext', #{hidden: 1, term_finish: 'close'})", 2339 \ " let buf = term_start('" .. cmd .. " Xtext', #{hidden: 1, term_finish: 'close'})",