SwingTerminalHostKeyHandler

Host-owned keyboard action hook for SwingTerminal.

The reusable terminal asks this hook before encoding key presses for the shell. Returning true means the host handled the key as application policy and the terminal must not send it to the session. Returning false passes the key through to terminal input handling.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun handleKeyPressed(event: KeyEvent): Boolean

Handles a key press before terminal input encoding.