SetPrompt sets the prompt string. The string to be displayed before the cursor.
(prompt string)
| 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) |