Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>term_wait

๐Ÿ“š Standard module for denops.vim
Go to Latest
function term_wait
import { term_wait } from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.ts";

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.

Can also be used as a method:

GetBufnr()->term_wait()

Parameters

denops: Denops
buf: unknown
optional
time: unknown

Returns

Promise<number>