import { EventEmitter } from "https://deno.land/x/tui@2.1.11/src/event_emitter.ts";
Add new listener for specified event type
If once
is set to true it will run just once and then be removed from listeners list
import { EventEmitter } from "https://deno.land/x/tui@2.1.11/src/event_emitter.ts";
Add new listener for specified event type
If once
is set to true it will run just once and then be removed from listeners list