MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / sendKeys

Function sendKeys

dev/local/tmux.ts:170–182  ·  view source on GitHub ↗
(
  sessionName: string,
  windowTarget: string | number,
  keys: string,
  pane?: number
)

Source from the content-addressed store, hash-verified

168 'tmux',
169 [
170 'set-option',
171 '-p',
172 '-t',
173 `${sessionName}:${windowTarget}.${pane}`,
174 '@kilo_service',
175 serviceName,
176 ],
177 { stdio: 'ignore' }
178 );
179}
180
181function buildInteractiveShellCommand(
182 startupCommand: string,
183 shell = process.env.SHELL || '/bin/sh',
184 cwd?: string
185): string {

Callers 2

restartServiceInTmuxFunction · 0.90
cmdUpFunction · 0.90

Calls 2

paneTargetFunction · 0.85
escapeForShellFunction · 0.85

Tested by

no test coverage detected