Skip to main content
Module

x/tui/src/key_reader/types.ts>MultiKeyPress

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
interface MultiKeyPress
implements Omit<KeyPress, "buffer" | "key">
import { type MultiKeyPress } from "https://deno.land/x/tui@1.3.4/src/key_reader/types.ts";

Interface defining multiple key presses (both {KeyPress} and {MousePress}) that have been issued to stdin at once

Properties

key: "multi"

MultiKeyPress id

buffer: KeyPress["buffer"][]

Raw data which was sent to stdin about every key

keys: (KeyPress["key"] | MousePress["key"])[]

Array storing KeyPress information about keys