HostEventSink

interface HostEventSink

Host-facing events emitted while parser commands are mapped to core state.

This sink is intentionally metadata-only. Grid mutation, terminal modes, and terminal-to-host byte responses remain owned by the public core APIs.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun bell()

Called when the parser emits BEL.

Link copied to clipboard

Called after a valid OSC 7 current-working-directory URI is accepted.

Link copied to clipboard
open fun deminimizeWindow()

Called when the shell requests deminimizing (restoring) the window.

Link copied to clipboard
abstract fun iconTitleChanged(title: String)

Called after the OSC icon title metadata changes.

Link copied to clipboard
open fun lowerWindow()

Called when the shell requests lowering the window.

Link copied to clipboard
open fun minimizeWindow()

Called when the shell requests minimizing the window.

Link copied to clipboard
open fun moveWindow(x: Int, y: Int)

Called when the shell requests moving the window.

Link copied to clipboard
open fun raiseWindow()

Called when the shell requests raising the window.

Link copied to clipboard
abstract fun resizeWindow(rows: Int, columns: Int)

Called when the shell requests a window resize.

Link copied to clipboard
open fun setMaximized(maximize: Boolean)

Called when the shell requests maximizing or restoring the window.

Link copied to clipboard

Called when an OSC 133 shell integration marker is received.

Link copied to clipboard
open fun showNotification(title: String, body: String, level: NotificationLevel)

Called when the shell requests a desktop notification.

Link copied to clipboard

Called when an OSC 52 clipboard write request requires product-host user approval and has been decoded to text.

Link copied to clipboard

Called after an OSC 52 terminal clipboard request is evaluated by host policy.

Link copied to clipboard

Called when an OSC 52 clipboard write request has been allowed by host policy and decoded to text.

Link copied to clipboard
abstract fun windowTitleChanged(title: String)

Called after the OSC window title metadata changes.