Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tui/src/key_reader/unix.ts

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

Functions

Decode code sequence to {KeyPress} object.

Decode SGR mouse mode code sequence to {MousePress} object. If it can't convert specified {code} to {MousePress} it returns undefined.

Decode VT and UTF8 mouse mode code sequence to {MousePress} object. If it can't convert specified {code} to {MousePress} it returns undefined.

Decode character(s) from buffer that was sent to stdin from terminal on mostly