aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-06-14 11:56:43 -0600
committerBjörn Linse <bjorn.linse@gmail.com>2021-07-12 15:17:10 +0200
commiteb7f24b4ae369086a2bb26966758069e63edeee1 (patch)
treeff8c3dbe817c27fd00f4d179d64866180d2a40ac /scripts/gen_vimdoc.py
parenteece0735fe3b4f70747644ebf5daf7320f441616 (diff)
downloadrneovim-eb7f24b4ae369086a2bb26966758069e63edeee1.tar.gz
rneovim-eb7f24b4ae369086a2bb26966758069e63edeee1.tar.bz2
rneovim-eb7f24b4ae369086a2bb26966758069e63edeee1.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 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions