Skip to content

Commit

Permalink
Merge pull request #1954 from h-east/update-terminal
Browse files Browse the repository at this point in the history
Update terminal.{txt,jax}
  • Loading branch information
h-east authored Feb 19, 2025
2 parents ed9f485 + 2bb6f0c commit ddc3882
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions doc/terminal.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*terminal.txt* For Vim バージョン 9.1. Last change: 2025 Jan 11
*terminal.txt* For Vim バージョン 9.1. Last change: 2025 Feb 13


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -983,7 +983,8 @@ term_wait({buf} [, {time}]) *term_wait()*
{buf} で保留となっている更新が処理されるのを待つ。
{buf} の扱いについては |term_getsize()| と同じ。
{time} は更新が届くのを待つ、ミリ秒単位での長さ。設定されてい
ない場合は 10 ミリ秒が使用される。
ない場合は 10 ミリ秒が使用される。キューに入れられたメッセージ
|:sleep| と同様に処理される。

|method| としても使用できる: >
GetBufnr()->term_wait()
Expand Down
5 changes: 3 additions & 2 deletions en/terminal.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*terminal.txt* For Vim version 9.1. Last change: 2025 Jan 11
*terminal.txt* For Vim version 9.1. Last change: 2025 Feb 13


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -999,7 +999,8 @@ term_wait({buf} [, {time}]) *term_wait()*
Wait for pending updates of {buf} to be handled.
{buf} is used as with |term_getsize()|.
{time} is how long to wait for updates to arrive in msec. If
not set then 10 msec will be used.
not set then 10 msec will be used. Queued messages will also
be processed similar to |:sleep|.

Can also be used as a |method|: >
GetBufnr()->term_wait()
Expand Down

0 comments on commit ddc3882

Please sign in to comment.