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

Function createTestTUI

packages/pi-tui/test/editor.test.ts:13–15  ·  view source on GitHub ↗

Create a TUI with a virtual terminal for testing

(cols = 80, rows = 24)

Source from the content-addressed store, hash-verified

11
12/** Create a TUI with a virtual terminal for testing */
13function createTestTUI(cols = 80, rows = 24): TUI {
14 return new TUI(new VirtualTerminal(cols, rows));
15}
16
17/** Standard applyCompletion that replaces prefix with item.value */
18function applyCompletion(

Callers 1

editor.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected