method KeyEvent.fromimport { KeyEvent } from "https://dotland.deno.dev/x/cliffy@v0.18.0/keycode/key_event.ts"; from(key: IKey): KeyEventCreate new KeyEvent. Parameterskey: IKeyKeyEvent options. ReturnsKeyEvent