Placeholder formats a placeholder for display.
(s string)
| 96 | |
| 97 | // Placeholder formats a placeholder for display. |
| 98 | func Placeholder(s string) string { |
| 99 | return pretty.Sprint(DefaultStyles.Placeholder, s) |
| 100 | } |
| 101 | |
| 102 | // Wrap prevents the text from overflowing the terminal. |
| 103 | func Wrap(s string) string { |