Handles key events routed to this renderer. Returns true if handled.
bool handleKeyEvent(term.KeyEvent event);