diff --git a/doc/terminal.jax b/doc/terminal.jax index a04ed2348..654584414 100644 --- a/doc/terminal.jax +++ b/doc/terminal.jax @@ -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 @@ -983,7 +983,8 @@ term_wait({buf} [, {time}]) *term_wait()* {buf} で保留となっている更新が処理されるのを待つ。 {buf} の扱いについては |term_getsize()| と同じ。 {time} は更新が届くのを待つ、ミリ秒単位での長さ。設定されてい - ない場合は 10 ミリ秒が使用される。 + ない場合は 10 ミリ秒が使用される。キューに入れられたメッセージ + も |:sleep| と同様に処理される。 |method| としても使用できる: > GetBufnr()->term_wait() diff --git a/en/terminal.txt b/en/terminal.txt index 43b5e5f24..53e2dcd08 100644 --- a/en/terminal.txt +++ b/en/terminal.txt @@ -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 @@ -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()