aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-06-14 11:56:43 -0600
committerJames McCoy <jamessan@jamessan.com>2021-08-26 21:56:45 -0400
commit915dda3f96b3619769bc93dab19841138fcb7eaf (patch)
treed9b5f6c41262406d252f22cd8db88353fbdd6d16 /test/functional/lua/vim_spec.lua
parentb6b12ea7c3f2a5ac18d92efc5e4ef814971dfdef (diff)
downloadrneovim-915dda3f96b3619769bc93dab19841138fcb7eaf.tar.gz
rneovim-915dda3f96b3619769bc93dab19841138fcb7eaf.tar.bz2
rneovim-915dda3f96b3619769bc93dab19841138fcb7eaf.zip
feat(job): add parameter to close stdin
Some programs behave differently when they detect that stdin is being piped. This can be problematic when these programs are used with the job control API where stdin is attached, but not typically used. It is possible to run the job using a PTY which circumvents this problem, but that includes a lot of overhead when simply closing the stdin pipe would suffice. To enable this behavior, add a new parameter to the jobstart options dict called "stdin" with two valid values: "pipe" (the default) implements the existing behavior of opening a channel for stdin and "null" which disconnects stdin (or, if you prefer, connects it to /dev/null). This is extensible so that other modes can be added in the future.
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions