klyn.gui.terminal.EditorView.handleEvent
method
public override handleEvent(eventName as String) as Boolean
Description

Handles a terminal key event for basic text editing.

Edits at the cursor, including selection, backspace, Enter and Tab. Shift+Enter and Ctrl+Enter insert the same newline as Enter.

Parameters
ParameterDescription
eventNameLogical terminal key or text event.
Returns

Whether the editor handled the event. Example: editor.handleEvent("SHIFT_ENTER") inserts a newline.