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

Class

packages/pi-tui/src/components/input.ts:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 * Input component - single-line text input with horizontal scrolling
18 */
19export class Input implements Component, Focusable {
20 private value: string = "";
21 private cursor: number = 0; // Cursor position in the value
22 public onSubmit?: (value: string) => void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected