MCPcopy Index your code
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
1252// buildSystem appends the working-directory anchor to the embedded system
1253// prompt so "hier" / "here" resolves to a concrete path.
1254func buildSystem(projectDir string) string {
1255 return config.DefaultSystemPrompt + "\n\nWorking directory: " + projectDir
1256}

Callers 1

handleKeyMethod · 0.95

Calls 1

LineMethod · 0.80

Tested by

no test coverage detected