6 "github.com/charmbracelet/crush/internal/agent/prompt"
9//go:embed templates/coder.gotmpl
10var coderPromptTmpl []byte
12func coderPrompt(opts ...prompt.Option) (*prompt.Prompt, error) {
13 systemPrompt, err := prompt.NewPrompt("coder", string(coderPromptTmpl), opts...)
17 return systemPrompt, nil
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list