libtmux_mcp.prompts.recipes.interrupt_gracefully
-
Interrupt a running command and verify the prompt returned.
Description#
Sends
C-cthroughsend_keys(literal=True), then waits on shell-prompt patterns viawait_for_text. Fails loudly if the process ignores SIGINT — the right escalation point is the caller, not an automaticC-\follow-up (SIGQUIT can core-dump).