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

Method setFocus

packages/pi-tui/src/tui.ts:376–378  ·  view source on GitHub ↗
(component: Component | null)

Source from the content-addressed store, hash-verified

374 }
375
376 setFocus(component: Component | null): void {
377 this.setFocusInternal({ component, overlayFocusRestore: "clear" });
378 }
379
380 private setFocusInternal({
381 component,

Callers 15

showOverlayMethod · 0.95
hideOverlayMethod · 0.95
handleInputMethod · 0.95
image-test.tsFile · 0.80
chat-simple.tsFile · 0.80
key-tester.tsFile · 0.80
initMainTuiMethod · 0.80
restoreEditorMethod · 0.80

Calls 1

setFocusInternalMethod · 0.95

Tested by

no test coverage detected