HostCommandAdapter
constructor(terminal: TerminalBuffer, hostEvents: HostEventSink = HostEventSink.NONE, hostPolicy: HostPolicy = HostPolicy(), kittyKeyboardSupportedFlags: Int = KittyKeyboardProgressiveFlag.DEFAULT_HOST_SUPPORTED_MASK, modeReportCapabilities: Int = 0, defaultBackarrowSendsBackspace: Boolean = false)
Parameters
terminal
public core buffer API mutated by parser semantic commands.
hostEvents
optional sink for accepted host metadata and requests.
hostPolicy
safety limits for host-owned metadata.
kittyKeyboardSupportedFlags
progressive Kitty keyboard flags the active input host can provide truthfully. The value must be a subset of the input encoder's implemented protocol mask.
modeReportCapabilities
implemented host actions from TerminalHostModeCapability.
defaultBackarrowSendsBackspace
current legacy Backspace default before DECBKM overrides it.