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

Function sendControlLine

app/src/modules/input.js:140–147  ·  view source on GitHub ↗
(text, { startDelayMs = 0, submitDelayMs = 120 } = {})

Source from the content-addressed store, hash-verified

138}
139
140export function sendControlLine(text, { startDelayMs = 0, submitDelayMs = 120 } = {}) {
141 setTimeout(() => {
142 if (S.ws?.readyState === WebSocket.OPEN) sendControlInput(text);
143 }, startDelayMs);
144 setTimeout(() => {
145 if (S.ws?.readyState === WebSocket.OPEN) sendControlEnter();
146 }, startDelayMs + submitDelayMs);
147}
148
149export function showCmdOverlay(label) {
150 let ov = $('cmd-overlay');

Callers 1

showModelPickerFunction · 0.90

Calls 2

sendControlInputFunction · 0.70
sendControlEnterFunction · 0.70

Tested by

no test coverage detected