Skip to content

terminals.resize

Resizes a PTY session (TRM-101).

/** `terminals.resize` params (TRM-101). */
export type TerminalResizeParams = {
cols: number;
rows: number;
terminalId: string;
};
/** No params, or the `{}` result. */
export type Empty = Record<string, never>;