Hyperlinkv0.8.0-beta.28

Terminal

Terminal.Keyinterfaceeffect/Terminal.ts:64
Key

Keyboard key metadata for terminal input, including the key name and modifier state.

models
Source effect/Terminal.ts:6418 lines
export interface Key {
  /**
   * The name of the key being pressed.
   */
  readonly name: string
  /**
   * If set to `true`, then the user is also holding down the `Ctrl` key.
   */
  readonly ctrl: boolean
  /**
   * If set to `true`, then the user is also holding down the `Meta` key.
   */
  readonly meta: boolean
  /**
   * If set to `true`, then the user is also holding down the `Shift` key.
   */
  readonly shift: boolean
}
Referenced by 2 symbols