Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denops_std/option/vim/mod.ts>ttyscroll

📚 Standard module for denops.vim
Go to Latest
variable ttyscroll
import { ttyscroll } from "https://deno.land/x/denops_std@v3.10.1/option/vim/mod.ts";

Maximum number of lines to scroll the screen. If there are more lines to scroll the window is redrawn. For terminals where scrolling is very slow and redrawing is not slow this can be set to a small number, e.g., 3, to speed up displaying.

type

{ get(denops: Denops): Promise<number>; set(denops: Denops, value: number): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<number>; setGlobal(denops: Denops, value: number): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }