MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / resize

Function resize

packages/node/src/testing/screen.ts:83–90  ·  view source on GitHub ↗
(nextCols: number, nextRows: number)

Source from the content-addressed store, hash-verified

81 };
82
83 const resize = async (nextCols: number, nextRows: number): Promise<void> => {
84 cols = nextCols;
85 rows = nextRows;
86 pending = pending.then(() => {
87 term.resize(nextCols, nextRows);
88 });
89 await pending;
90 };
91
92 const snapshot = (): TerminalScreenSnapshot => {
93 const lines: string[] = [];

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.65

Tested by

no test coverage detected