Terminal: Terminals now default to opening in the same rather than a new window

This commit is contained in:
James Babcock committed 2026-11-06 23:24:39 -08:00
1 parent 32fa5c0e6e
commit e1a3e80b3d
6 files changed
+696 -33

No files matched your search

+1 -1
View File
@@ -911,7 +911,7 @@ test('Terminal resize keeps the view identity, negotiates its grid and skips pos
client: { stop: () => calls.push('stop'), setViewport: (...size) => calls.push(size) },
};
const resize = resizeHandler('app/apps/terminal/terminal-app.worker.ts', {
windows: new Map([['test', window]]), clearTimeout: (timer) => calls.push(timer),
windows: new Map([['test', window]]), pendingHeightChanges: new Map(), clearTimeout: (timer) => calls.push(timer),
TerminalEmulator: class { constructor(cols, rows) { this.cols = cols; this.rows = rows; } },
reconnectView: (view) => { assert.equal(view, window); calls.push('reconnect'); },
scheduleRender: () => calls.push('paint'),