Skip to main content
Module

x/denops_std/function/mod.ts>inputsave

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

Preserve typeahead (also from mappings) and clear it, so that a following prompt gets input from the user. Should be followed by a matching inputrestore() after the prompt. Can be used several times, in which case there must be just as many inputrestore() calls. Returns TRUE when out of memory, FALSE otherwise.

Returns

Promise<boolean>