KetraTerm
API · DevelopmentAll versions

TerminalShellIntegrationState

constructor(capacity: Int = DEFAULT_CAPACITY, maxCommandTextLength: Int = 4096, epochMillis: () -> Long = System::currentTimeMillis)

Parameters

capacity

maximum retained command records before oldest-record eviction.

maxCommandTextLength

maximum retained UTF-16 command-text length per record; longer extracted text is stored as unknown.

epochMillis

Unix epoch-millisecond source sampled for command metadata, including abandonment. Hosts may supply their metadata clock domain; these wall-clock timestamps do not measure elapsed duration.