MCPcopy Create free account
hub / github.com/codehamr/codehamr / installTurnContext

Method installTurnContext

internal/tui/model.go:620–625  ·  view source on GitHub ↗

installTurnContext cancels any in-flight turn context and installs a fresh per-turn root on m.turnCtx / m.cancel. Cancel-old-then-install-new keeps Ctrl+C consistent: one m.cancel() always unwinds the whole current cascade.

()