import * as tui from "https://deno.land/x/tui@1.3.4/src/mouse.ts"; FunctionsfhandleMouseControlshandleKeypresses() has to be called in order for this function to work. Clicking component calls interact("mouse") on it. It's up to component how it handles it.