Options
All
  • Public
  • Public/Protected
  • All
Menu

cli-driver

Index

Variables

Const BACKSPACE

BACKSPACE: string

Const CURSOR_BACK

CURSOR_BACK: string

Const CURSOR_DOWN

CURSOR_DOWN: string

Const CURSOR_FORWARD

CURSOR_FORWARD: string

Const CURSOR_UP

CURSOR_UP: string

Const ESC

ESC: string

Const RETURN

RETURN: string

Const TAB

TAB: string

Const key

Const keys

Return the correct unicode sequence representing given key and control combination. Supports [a-zA-Z0-9] as input characters with any combination of ctrl - meta - shift modifiers. Usage example:

key({ name: 'a', meta: true, shift: true })

Functions

getSequenceFor

  • getSequenceFor(key: Key): string
  • Parameters

    Returns string

Generated using TypeDoc