import { handleKeypresses } from "https://deno.land/x/tui@1.3.4/src/keyboard.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.3.4/src/keyboard.ts";
Intercepts keypresses from readKeypress()
and dispatch them as events to tui
that way keyPress, multiKeyPress and mousePress events work