Skip to main content
Module

x/denops_std/function/input.ts>inputsave

📚 Standard module for denops.vim
Go to Latest
function inputsave
import { inputsave } from "https://deno.land/x/denops_std@v4.1.3/function/input.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 1 when out of memory, 0 otherwise.

Parameters

denops: Denops

Returns

Promise<void>