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

Function createTerminalState

apps/kimi-code/src/tui/utils/terminal-state.ts:16–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16export function createTerminalState(): TerminalState {
17 return {
18 notificationKeys: new Set<string>(),
19 focused: true,
20 supportsOsc9: supportsOsc9Notification(),
21 supportsProgress: supportsTerminalProgress(),
22 insideTmux: isInsideTmux(),
23 progressActive: false,
24 };
25}

Callers 1

createTUIStateFunction · 0.90

Calls 3

supportsOsc9NotificationFunction · 0.90
supportsTerminalProgressFunction · 0.90
isInsideTmuxFunction · 0.90

Tested by

no test coverage detected