Pane Manager Registry (pane-manager/pane-manager-registry.ts)

orca · src/renderer/src/lib/pane-manager/pane-manager-registry.ts · typescript · MIT
ui, cli, dev-tools, tag:pane-management

Tracks live terminal pane managers for a renderer, enabling global operations like WebGL atlas resets, viewport refresh, and diagnostics/memory profiling across panes.

// Source: https://github.com/stablyai/orca | License: MIT | Copyright 2026 Lovecast Inc
// Provided via justclaw.it.com; keep this notice with the code.
import { recordTerminalWebglDiagnostic } from '../../../../shared/terminal-webgl-diagnostics'
import { registerRendererMemoryProfileContributor } from '../renderer-memory-profile'
import type { PaneRenderingDiagnostics } from './pane-manager-types'

type RegisteredPaneManager = {
  resetWebglTextureAtlases(): void
  clearWebglTextureAtlases?: () => void
  presentForcedViewports?: () => void
  fitAllPanes?: () => void
  refreshAllPanes?: () => void
  getRenderingDiagnostics?: () => PaneRenderingDiagnostics[]
  getPanes?: (limit?: number) => { id: number; terminal: unknown }[]
  getPaneCount?: () => number
  isVisibleForAtlasRecovery?: () =

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key