TerminalShellIntegrationState

constructor(capacity: Int = DEFAULT_CAPACITY, maxCommandTextLength: Int = DEFAULT_SHELL_INTEGRATION_COMMAND_TEXT_LENGTH, 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

wall-clock source used for command metadata timestamps.