summaryrefslogtreecommitdiffstats
path: root/runtime/doc/terminal.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-29 21:55:35 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-29 21:55:35 +0200
commit89a9c159f23fb7b3e24e6d09068adfc24a73afcb (patch)
treeffc62c1104f8222091cf262a37dbb52bf01f5a61 /runtime/doc/terminal.txt
parent6e82351130ddb8d13cf3748b47f07cae77886fc7 (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/terminal.txt')
-rw-r--r--runtime/doc/terminal.txt28
1 files changed, 15 insertions, 13 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index 15e93573f4..2f2556a508 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1,4 +1,4 @@
-*terminal.txt* For Vim version 8.2. Last change: 2021 Aug 10
+*terminal.txt* For Vim version 8.2. Last change: 2021 Aug 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -752,18 +752,6 @@ term_sendkeys({buf}, {keys}) *term_sendkeys()*
GetBufnr()->term_sendkeys(keys)
-term_setapi({buf}, {expr}) *term_setapi()*
- Set the function name prefix to be used for the |terminal-api|
- function in terminal {buf}. For example: >
- :call term_setapi(buf, "Myapi_")
- :call term_setapi(buf, "")
-<
- The default is "Tapi_". When {expr} is an empty string then
- no |terminal-api| function can be used for {buf}.
-
- When used as a method the base is used for {buf}: >
- GetBufnr()->term_setapi({expr})
-
term_setansicolors({buf}, {colors}) *term_setansicolors()*
Set the ANSI color palette used by terminal {buf}.
{colors} must be a List of 16 valid color names or hexadecimal
@@ -799,6 +787,20 @@ term_setansicolors({buf}, {colors}) *term_setansicolors()*
< {only available with GUI enabled and/or the |+termguicolors|
feature}
+
+term_setapi({buf}, {expr}) *term_setapi()*
+ Set the function name prefix to be used for the |terminal-api|
+ function in terminal {buf}. For example: >
+ :call term_setapi(buf, "Myapi_")
+ :call term_setapi(buf, "")
+<
+ The default is "Tapi_". When {expr} is an empty string then
+ no |terminal-api| function can be used for {buf}.
+
+ When used as a method the base is used for {buf}: >
+ GetBufnr()->term_setapi({expr})
+
+
term_setkill({buf}, {how}) *term_setkill()*
When exiting Vim or trying to close the terminal window in
another way, {how} defines whether the job in the terminal can