MCPcopy
hub / github.com/abiosoft/ishell / SetPrompt

Method SetPrompt

actions.go:52–52  ·  view source on GitHub ↗

SetPrompt sets the prompt string. The string to be displayed before the cursor.

(prompt string)

Source from the content-addressed store, hash-verified

50 Checklist(options []string, text string, init []int) []int
51 // SetPrompt sets the prompt string. The string to be displayed before the cursor.
52 SetPrompt(prompt string)
53 // SetMultiPrompt sets the prompt string used for multiple lines. The string to be displayed before
54 // the cursor; starting from the second line of input.
55 SetMultiPrompt(prompt string)

Callers 3

SetPromptMethod · 0.65
ShowPromptMethod · 0.65
readLineMethod · 0.65

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected