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

Method handleInput

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

* Optional handler for keyboard input when component has focus

(data: string)

Source from the content-addressed store, hash-verified

80 * Optional handler for keyboard input when component has focus
81 */
82 handleInput?(data: string): void;
83
84 /**
85 * If true, component receives key release events (Kitty protocol).

Callers 7

editor.test.tsFile · 0.65
positionCursorFunction · 0.65
pasteWithMarkerFunction · 0.65
input.test.tsFile · 0.65
handleInputMethod · 0.65
handleInputMethod · 0.65
handleInputMethod · 0.65

Implementers 15

InputRecorderpackages/pi-tui/test/tui-cell-size-inp
SimpleContentpackages/pi-tui/test/overlay-short-con
SimpleOverlaypackages/pi-tui/test/overlay-short-con
MarkdownWithInputpackages/pi-tui/test/markdown.test.ts
StaticOverlaypackages/pi-tui/test/overlay-non-captu
EmptyContentpackages/pi-tui/test/overlay-non-captu
FocusableOverlaypackages/pi-tui/test/overlay-non-captu
StaticOverlaypackages/pi-tui/test/overlay-options.t
EmptyContentpackages/pi-tui/test/overlay-options.t
StyledContentpackages/pi-tui/test/overlay-options.t
HyperlinkContentpackages/pi-tui/test/overlay-options.t
KeyLoggerpackages/pi-tui/test/key-tester.ts

Calls

no outgoing calls

Tested by 2

positionCursorFunction · 0.52
pasteWithMarkerFunction · 0.52