diff options
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index c4d84c36c3..b303ad61b1 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4019,8 +4019,9 @@ jobsend({job}, {data}) {Nvim} *jobsend()* {data} may be a string, string convertible, or a list. If {data} is a list, the items will be separated by newlines and - any newlines in an item will be sent as a NUL. For example: > - :call jobsend(j, ["abc", "123\n456"]) + any newlines in an item will be sent as a NUL. A final newline + can be sent by adding a final empty string. For example: > + :call jobsend(j, ["abc", "123\n456", ""]) < will send "abc<NL>123<NUL>456<NL>". jobstart({name}, {prog}[, {argv}]) {Nvim} *jobstart()* |