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

Function TestCtrlDMidTurnDoesNotQuit

internal/tui/tui_test.go:115–125  ·  view source on GitHub ↗

TestCtrlDMidTurnDoesNotQuit: the textarea is empty during a running turn (submit resets it), so without the phase gate a reflexive Ctrl+D would quit instantly, skipping turnCtx cancel and orphaning a running tool's process group. Ctrl+C is the mid-turn escape; Ctrl+D must be inert until idle.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

newTestModelFunction · 0.85
ValueMethod · 0.80
UpdateMethod · 0.45

Tested by

no test coverage detected