import { handleKeypresses } from "https://deno.land/x/tui@1.0.2/mod.ts";
Intercepts keypresses from readKeypress()
and dispatch them as events to tui
that way keyPress, multiKeyPress and mousePress events work
Parameters
tui: Tui
import { handleKeypresses } from "https://deno.land/x/tui@1.0.2/mod.ts";
Intercepts keypresses from readKeypress()
and dispatch them as events to tui
that way keyPress, multiKeyPress and mousePress events work