Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/tui/src/input_reader/types.ts>KeyPressEvent

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
interface KeyPressEvent
import { type KeyPressEvent } from "https://deno.land/x/tui@2.0.0/src/input_reader/types.ts";

Interface defining key press issued to stdin

Properties

key: Key
meta: boolean
ctrl: boolean
shift: boolean
buffer: Uint8Array