diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2015-05-02 10:30:30 -0400 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2015-05-02 10:30:30 -0400 |
commit | 1c2c90ab0720784473805d20c359499a2d3d2ccf (patch) | |
tree | 8c4e587c91bbf91748c7ace6338aa3f609eaec0f /test/functional/terminal/helpers.lua | |
parent | 205466830207a920c62146b7b689fac2e395431a (diff) | |
parent | 1eb33969220b267cf45adb286f0b7b6d14805eff (diff) | |
download | rneovim-1c2c90ab0720784473805d20c359499a2d3d2ccf.tar.gz rneovim-1c2c90ab0720784473805d20c359499a2d3d2ccf.tar.bz2 rneovim-1c2c90ab0720784473805d20c359499a2d3d2ccf.zip |
Merge pull request #2424 from splinterofchaos/term-no-sh
use an argument vector for termopen() / unify jobstart, termopen, and system
Diffstat (limited to 'test/functional/terminal/helpers.lua')
-rw-r--r-- | test/functional/terminal/helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/helpers.lua b/test/functional/terminal/helpers.lua index 1bc6057a0b..e488495139 100644 --- a/test/functional/terminal/helpers.lua +++ b/test/functional/terminal/helpers.lua @@ -56,7 +56,7 @@ local function screen_setup(extra_height) -- tty-test puts the terminal into raw mode and echoes all input. tests are -- done by feeding it with terminfo codes to control the display and -- verifying output with screen:expect. - execute('term ' ..nvim_dir.. '/tty-test') + execute('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert') -- wait for "tty ready" to be printed before each test or the terminal may -- still be in canonical mode(will echo characters for example) -- |