interface ShellSessionEvent

An event that occurred during a session.

Properties

cols

The number of columns in the terminal (for resize events).

Signature
cols?: number;

data

The data that was sent or received (for output and send events).

Signature
data?: string;

rows

The number of rows in the terminal (for resize events).

Signature
rows?: number;

time

The time at which the event occurred, in milliseconds since the Unix epoch.

Signature
time: number;

type

The type of event.

Signature
type: 'started' | 'output' | 'send' | 'resize';