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

Function escapeForShell

dev/local/tmux.ts:493–495  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

491}
492
493/**
494 * Whether the pane is running an actual service. `pane_current_command` cannot
495 * answer this: services run under a `$SHELL -lc '<cmd>; exec $SHELL -l'`
496 * wrapper, so it reports the wrapper shell even while the service is alive.
497 * "Has any child" cannot answer it either — ctrl-c and dashboard clicks leave
498 * extra login shells parented to the pane shell, which read as "still

Callers 7

createSessionFunction · 0.85
sendKeysFunction · 0.85
renameWindowFunction · 0.85
breakPaneFunction · 0.85
setPaneTitleFunction · 0.85
pipePaneFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected