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

Method abortTurn

internal/tui/model.go:849–870  ·  view source on GitHub ↗

abortTurn winds down a turn that did not complete normally: flush in-flight text so the partial block lands in scrollback, post the explanatory banner, drop pending tool calls, reset per-turn counters and context. Pair to applyDone for the happy path.

(banner string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

applyErrorMethod · 0.95
handleCtrlCMethod · 0.95

Calls 7

flushStreamingMethod · 0.95
appendLineMethod · 0.95
setPromptTextMethod · 0.95
finalizeTurnMethod · 0.95
endTurnMethod · 0.95
ResetMethod · 0.80
ValueMethod · 0.80

Tested by

no test coverage detected