MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / clearOverlayFocusRestoreFor

Method clearOverlayFocusRestoreFor

packages/pi-tui/src/tui.ts:449–453  ·  view source on GitHub ↗
(overlay: OverlayStackEntry)

Source from the content-addressed store, hash-verified

447 }
448
449 private clearOverlayFocusRestoreFor(overlay: OverlayStackEntry): void {
450 if (this.overlayFocusRestore.status !== "inactive" && this.overlayFocusRestore.overlay === overlay) {
451 this.clearOverlayFocusRestore();
452 }
453 }
454
455 private resolveBlockedOverlayFocusResume(restoreState: BlockedOverlayFocusRestoreState): Component | null {
456 if (restoreState.resume.status === "restore-overlay") return restoreState.overlay.component;

Callers 2

showOverlayMethod · 0.95
hideOverlayMethod · 0.95

Calls 1

Tested by

no test coverage detected