Skip to main content
Module

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

📚 Standard module for denops.vim
Latest
function term_getaltscreen
import { term_getaltscreen } from "https://deno.land/x/denops_std@v6.5.1/function/vim/mod.ts";

Returns 1 if the terminal of {buf} is using the alternate screen. {buf} is used as with term_getsize().

Can also be used as a method:

GetBufnr()->term_getaltscreen()

Parameters

denops: Denops
buf: unknown

Returns

Promise<number>