interface ShellSessionCapturedData

The data captured by ShellSession#capture.

It may contain extra properties, as specified by the extra argument to ShellSession#capture.

Properties

cols

The number of columns in the terminal, as of the time when capture() was called.

Signature
cols: number;

events

The events that occurred during the session, up to the point when capture() was called.

Signature
events: ShellSessionEvent[];

rows

The number of rows in the terminal, as of the time when capture() was called.

Signature
rows: number;

text

The text snapshot that was rendered to the terminal, as of the time when capture() was called. Each element is a line of text.

Signature
text: string[];