Typing Flow Docs
  • Introduction
    • Get started
    • Configuration
    • Commands
      • text
      • backspace
      • del
      • cursorLeft
      • cursorRight
      • delay
      • home
      • end
    • Examples
  • Features
    • Renderers
    • Hooks
  • Plugins
    • chain
Powered by GitBook
On this page
  1. Introduction
  2. Commands

cursorRight

Moving cursot to the right.

type CursorRightCommandOptions = {
    delay?: number; // delault: 0
    instant?: boolean; // delault: false
}

// first argument is distance to move
cursorRight(4, { delay: 120, instant: false })

PreviouscursorLeftNextdelay

Last updated 3 months ago