text

fun text(associatedText: String, modifiers: Int = TerminalModifiers.NONE, type: TerminalKeyEventType = TerminalKeyEventType.PRESS): TerminalKeyEvent

Creates a Kitty text-only event with no known physical key identity.

Return

a normalized text-only key event.

Parameters

associatedText

text produced by the host or IME.

modifiers

active keyboard modifiers.

type

physical lifecycle phase reported by the host.