HostCommandAdapter
constructor(terminal: TerminalBuffer, hostEvents: HostEventSink = HostEventSink.NONE, hostPolicy: HostPolicy = HostPolicy(), kittyKeyboardSupportedFlags: Int = KittyKeyboardProgressiveFlag.DEFAULT_HOST_SUPPORTED_MASK)
Parameters
terminal
public core buffer API mutated by parser semantic commands.
hostEvents
optional metadata callback sink for BEL and title changes.
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.