TerminalShellIntegrationCommandLifecycle

Primitive lifecycle vocabulary for session-owned shell command records.

These values are intentionally Int constants rather than enum instances so viewport projections can use reusable primitive arrays with no per-row allocation.

Properties

Link copied to clipboard
const val ABANDONED: Int = 6

A newer prompt or command marker superseded an unfinished command.

Link copied to clipboard
const val FAILED: Int = 4

A command finished with a non-zero exit code.

Link copied to clipboard
const val FINISHED_UNKNOWN: Int = 5

A command finished without a known exit code.

Link copied to clipboard
const val NONE: Int = 0

No command lifecycle is associated with the projected row.

Link copied to clipboard
const val PROMPT_ONLY: Int = 1

A prompt marker was observed, but no command start has attached to it.

Link copied to clipboard
const val RUNNING: Int = 2

A command start marker was observed and no command finish has arrived yet.

Link copied to clipboard
const val SUCCEEDED: Int = 3

A command finished with exit code zero.