Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

📚 Standard module for denops.vim
Go to Latest
function term_gettitle
import { term_gettitle } from "https://deno.land/x/denops_std@v4.1.4/function/vim/mod.ts";

Get the title of terminal {buf}. This is the title that the job in the terminal has set. {buf} must be the buffer number of a terminal window. If the buffer does not exist or is not a terminal window, an empty string is returned. Can also be used as a |method|: GetBufnr()->term_gettitle()

Parameters

denops: Denops
buf: unknown

Returns

Promise<unknown>