Mercurial > vim
comparison runtime/doc/terminal.txt @ 18343:375a7ecdb351
Update runtime files.
Commit: https://github.com/vim/vim/commit/2e693a88b24dc6b12883fad78ff2cb9cd4469c98
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 16 22:35:02 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Oct 2019 22:45:04 +0200 |
parents | 4ac8161e92e0 |
children | 527b7084c556 |
comparison
equal
deleted
inserted
replaced
18342:fedab77fee7b | 18343:375a7ecdb351 |
---|---|
494 Also see |terminal-diff|. | 494 Also see |terminal-diff|. |
495 | 495 |
496 For {options} see |term_dumpdiff()|. | 496 For {options} see |term_dumpdiff()|. |
497 | 497 |
498 Can also be used as a |method|: > | 498 Can also be used as a |method|: > |
499 GetFilename()-> term_dumpload() | 499 GetFilename()->term_dumpload() |
500 < | 500 < |
501 *term_dumpwrite()* | 501 *term_dumpwrite()* |
502 term_dumpwrite({buf}, {filename} [, {options}]) | 502 term_dumpwrite({buf}, {filename} [, {options}]) |
503 Dump the contents of the terminal screen of {buf} in the file | 503 Dump the contents of the terminal screen of {buf} in the file |
504 {filename}. This uses a format that can be used with | 504 {filename}. This uses a format that can be used with |
512 "rows" maximum number of rows to dump | 512 "rows" maximum number of rows to dump |
513 "columns" maximum number of columns to dump | 513 "columns" maximum number of columns to dump |
514 | 514 |
515 Can also be used as a |method|, the base is used for the file | 515 Can also be used as a |method|, the base is used for the file |
516 name: > | 516 name: > |
517 GetFilename()-> term_dumpwrite(bufnr) | 517 GetFilename()->term_dumpwrite(bufnr) |
518 | 518 |
519 term_getaltscreen({buf}) *term_getaltscreen()* | 519 term_getaltscreen({buf}) *term_getaltscreen()* |
520 Returns 1 if the terminal of {buf} is using the alternate | 520 Returns 1 if the terminal of {buf} is using the alternate |
521 screen. | 521 screen. |
522 {buf} is used as with |term_getsize()|. | 522 {buf} is used as with |term_getsize()|. |
861 |term_setapi()|. | 861 |term_setapi()|. |
862 | 862 |
863 Can also be used as a |method|: > | 863 Can also be used as a |method|: > |
864 GetCommand()->term_start() | 864 GetCommand()->term_start() |
865 | 865 |
866 < {only available when compiled with the |+terminal| feature} | |
867 | |
868 | 866 |
869 term_wait({buf} [, {time}]) *term_wait()* | 867 term_wait({buf} [, {time}]) *term_wait()* |
870 Wait for pending updates of {buf} to be handled. | 868 Wait for pending updates of {buf} to be handled. |
871 {buf} is used as with |term_getsize()|. | 869 {buf} is used as with |term_getsize()|. |
872 {time} is how long to wait for updates to arrive in msec. If | 870 {time} is how long to wait for updates to arrive in msec. If |
1241 `:Run` [args] run the program with [args] or the previous arguments | 1239 `:Run` [args] run the program with [args] or the previous arguments |
1242 `:Arguments` {args} set arguments for the next `:Run` | 1240 `:Arguments` {args} set arguments for the next `:Run` |
1243 | 1241 |
1244 *:Break* set a breakpoint at the cursor position | 1242 *:Break* set a breakpoint at the cursor position |
1245 :Break {position} | 1243 :Break {position} |
1246 set a breakpoint at the specified position | 1244 set a breakpoint at the specified position |
1247 *:Clear* delete the breakpoint at the cursor position | 1245 *:Clear* delete the breakpoint at the cursor position |
1248 | 1246 |
1249 *:Step* execute the gdb "step" command | 1247 *:Step* execute the gdb "step" command |
1250 *:Over* execute the gdb "next" command (`:Next` is a Vim command) | 1248 *:Over* execute the gdb "next" command (`:Next` is a Vim command) |
1251 *:Finish* execute the gdb "finish" command | 1249 *:Finish* execute the gdb "finish" command |