KetraTerm
API · DevelopmentAll versions

requestKeyModifierOption

abstract fun requestKeyModifierOption(resource: Int)

Enqueues an allowlisted xterm key-modifier option response.

Unsupported resources produce no response; the protocol defines no failure reply. Explicit disable is reported as 65535, matching xterm's unsigned parameter. Host adapters must enforce terminal-response policy before calling this API.

Parameters

resource

The queried xterm key-modifier resource identifier.