Skip to main content
Module

x/ddu_vim/deps.ts>fn.inputrestore

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
function fn.inputrestore
import { fn } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { inputrestore } = fn;

Restore typeahead that was saved with a previous |inputsave()|. Should be called the same number of times inputsave() is called. Calling it more often is harmless though. Returns 1 when there is nothing to restore, 0 otherwise.

Returns

Promise<void>