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
@@ -801,7 +801,7 @@ export class IosPreviewController {
const display = this.display
if (!display) return
await display.configureSurface(id, { ...appViewportRect(heightMode, appId), zOrder: 0, transparency: 'opaque' })
await display.setSurfaceVisible(id, visible)
await display.setSurfaceVisible(id, typeof visible === 'function' ? visible() : visible)
},
setSurfaceVisible: (id, visible) => this.setWindowSurfaceVisible(id, visible),
removeSurface: id => this.removeWindowSurface(id),