MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / sendControlInput

Function sendControlInput

app/src/modules/input.js:131–134  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

129}
130
131export function sendControlInput(data) {
132 if (!S.ws || S.ws.readyState !== WebSocket.OPEN) return;
133 S.ws.send(JSON.stringify({ type: 'input', data: String(data) }));
134}
135
136export function sendControlEnter() {
137 sendControlInput('\r');

Callers 3

showModelPickerFunction · 0.90
sendControlEnterFunction · 0.70
sendControlLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected