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

Method cursorOnFirstLine

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

cursorOnFirstLine: true when ↑ should walk prompt history instead of moving the textarea's own cursor. cursorOnLastLine is the mirror for ↓.

()

Source from the content-addressed store, hash-verified

1251// appends "(exit: N)" / "(timeout after ...)" on failure. A user Ctrl+C
1252// ("(cancelled)") never counts as a failure.
1253func toolResultFailed(name, result string) bool {
1254 if strings.Contains(result, "(cancelled)") {
1255 return false
1256 }

Callers 1

handleKeyMethod · 0.95

Calls 1

LineMethod · 0.80

Tested by

no test coverage detected