KetraTerm
API · DevelopmentAll versions

TerminalGraphicsCommand

Borrowed Kitty graphics controls. Values retain their wire units and omission; character-valued controls use their ASCII code. IDs are unsigned 32-bit values represented as Long. Valid only during the receiving command callback. Keys retain the Kitty protocol's case-sensitive spelling: for example i selects an image ID while I selects an image number. Coordinates and sizes have not been converted from their wire units. Consumers apply operation defaults with valueOr and must not retain this reusable view.

Types

Link copied to clipboard
object Companion

Sentinel shared by control producers and consumers.

Functions

Link copied to clipboard
abstract fun value(key: Char): Long

Reads a case-sensitive wire control without applying an operation default.

Link copied to clipboard
open fun valueOr(key: Char, default: Long): Long

Resolves an omitted control without collapsing an explicit zero.