MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getTerminalFocusState

Function getTerminalFocusState

src/ink/terminal-focus-state.ts:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30export function getTerminalFocusState(): TerminalFocusState {
31 return focusState
32}
33
34// For useSyncExternalStore
35export function subscribeTerminalFocus(cb: () => void): () => void {

Callers 2

onFocusChangeFunction · 0.85
useAwaySummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected