tuil
ReferencePackages@mwillbanks/tuil-hotkeysAPI

TerminalKey

interface exported by @mwillbanks/tuil-hotkeys.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-hotkeys.

export interface TerminalKey {
  readonly name?: string;
  readonly ctrl?: boolean;
  readonly shift?: boolean;
  readonly meta?: boolean;
  readonly alt?: boolean;
  readonly escape?: boolean;
  readonly return?: boolean;
  readonly tab?: boolean;
  readonly backspace?: boolean;
  readonly delete?: boolean;
  readonly upArrow?: boolean;
  readonly downArrow?: boolean;
  readonly leftArrow?: boolean;
  readonly rightArrow?: boolean;
  readonly pageUp?: boolean;
  readonly pageDown?: boolean;
  readonly home?: boolean;
  readonly end?: boolean;
}

Members

MemberTypeRequiredDescriptionRelated types
namestring | undefinedNoThe name member uses the string | undefined contract.
ctrlboolean | undefinedNoThe ctrl member uses the boolean | undefined contract.
shiftboolean | undefinedNoThe shift member uses the boolean | undefined contract.
metaboolean | undefinedNoThe meta member uses the boolean | undefined contract.
altboolean | undefinedNoThe alt member uses the boolean | undefined contract.
escapeboolean | undefinedNoThe escape member uses the boolean | undefined contract.
returnboolean | undefinedNoThe return member uses the boolean | undefined contract.
tabboolean | undefinedNoThe tab member uses the boolean | undefined contract.
backspaceboolean | undefinedNoThe backspace member uses the boolean | undefined contract.
deleteboolean | undefinedNoThe delete member uses the boolean | undefined contract.
upArrowboolean | undefinedNoThe upArrow member uses the boolean | undefined contract.
downArrowboolean | undefinedNoThe downArrow member uses the boolean | undefined contract.
leftArrowboolean | undefinedNoThe leftArrow member uses the boolean | undefined contract.
rightArrowboolean | undefinedNoThe rightArrow member uses the boolean | undefined contract.
pageUpboolean | undefinedNoThe pageUp member uses the boolean | undefined contract.
pageDownboolean | undefinedNoThe pageDown member uses the boolean | undefined contract.
homeboolean | undefinedNoThe home member uses the boolean | undefined contract.
endboolean | undefinedNoThe end member uses the boolean | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-hotkeys

On this page