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

Method setValue

packages/pi-tui/src/components/input.ts:43–46  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

41 }
42
43 setValue(value: string): void {
44 this.value = value;
45 this.cursor = Math.min(this.cursor, value.length);
46 }
47
48 handleInput(data: string): void {
49 // Handle bracketed paste mode

Callers 1

input.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected