Skip to main content
Module

x/tui/src/key_reader/unix.ts>decodeKey

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
function decodeKey
import { decodeKey } from "https://deno.land/x/tui@1.3.4/src/key_reader/unix.ts";

Decode code sequence to {KeyPress} object.

Parameters

buffer: Uint8Array
code: string