neovim/test/functional
Kei Kamikawa f558af8b18
fixed hang issue with --headless and -r option specified (#12209)
* fixed hang issue with --headless and -r option specified

Calling the do_more_prompt function in headless mode will freeze neovim because it is eventally in the input-accepting state (the same as waiting for --more--).

* fixed "Press ENTER or type command to continue" to be suppressed

If in headless mode, we need to exit at this point. If we continue, we will enter the normal mode and the message "Press ENTER or type command to continue" will be displayed and we will be in the input waiting state.

* fixed functional ex_cmds tests

* Revert "fixed "Press ENTER or type command to continue" to be suppressed"

This reverts commit a02dc40e3b.

* Revert "fixed functional ex_cmds tests"

This reverts commit 3bdb8da20a.

* fixed conditional again

* added test for fixed hang issue with --headless (#11386)

(cherry picked from commit c6dc397801)
2020-05-20 22:32:50 -04:00
..
api Context: rename "buflist" => "bufs" 2019-09-14 18:57:35 -07:00
autocmd autocmds: TermEnter, TermLeave #8550 2019-09-14 15:54:19 -07:00
cmdline cmdline: CTRL-R: Omit trailing <CR>. 2017-02-18 23:24:35 +01:00
core fixed hang issue with --headless and -r option specified (#12209) 2020-05-20 22:32:50 -04:00
eval Context: rename "buflist" => "bufs" 2019-09-14 18:57:35 -07:00
ex_cmds getdigits: introduce strict, def parameters 2019-09-13 19:29:25 -07:00
fixtures NVIM v0.4.1 2019-09-15 17:11:39 -07:00
insert normal: Don't exit CTRL-O mode after processing K_EVENT 2019-06-04 13:59:43 +02:00
legacy Merge #10869 'vim-patch:8.1.{0309,0362,0365,0515,1946}' 2019-09-05 14:10:32 -07:00
lua test: Rename meth_pcall to pcall_err 2019-09-06 17:19:07 -07:00
normal test: Eliminate expect_err 2019-09-06 17:19:07 -07:00
options options: make 'fillchars' and 'listchars' global-local 2020-02-21 14:14:15 -08:00
plugin test/shada_spec: avoid exit_event race #10951 2019-09-05 09:48:34 -07:00
provider test: skip nodejs_spec on 0.4.x branch 2020-01-28 02:43:09 -08:00
shada shada: initialize jumplist before search pattern (#10964) 2019-09-07 18:02:29 -07:00
terminal win_line: Fix crash with 'rightleft' in :terminal #11460 2019-11-29 05:34:32 +01:00
ui Fix "precedes" listchar behavior in wrap mode 2020-02-21 14:21:11 -08:00
viml tests: adjust to latest Vim patches 2019-05-05 14:05:25 +02:00
example_spec.lua vim-patch:8.1.{0849,1001}: 'cursorline' highlight #9757 2019-03-19 12:24:41 +01:00
helpers.lua screen: don't crash on invalid grid cells being recomposed 2019-09-30 20:33:09 +02:00
preload.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00