KetraTerm
API · DevelopmentAll versions

TerminalCommandEditContext

Session-issued editing context captured with a selected producer's revision. Retain it from suggestion request through final admission; never recapture it merely to make an old edit pass. It is specific to its issuing session and becomes stale after input, output, resize or a producer update. No writer or frame lease is retained. Acceptance still does not confirm remote execution.

Properties

Link copied to clipboard

authoritative snapshot used to calculate editor actions.

Link copied to clipboard

Whether the owner has cancelled this request. Cancellation is permanent.

Functions

Link copied to clipboard
fun cancel()

Prevents subsequent admission using this context. A cancellation racing the final admission check may lose; it never retracts already accepted bytes.