Wrap prevents the text from overflowing the terminal.
(s string)
| 101 | |
| 102 | // Wrap prevents the text from overflowing the terminal. |
| 103 | func Wrap(s string) string { |
| 104 | return pretty.Sprint(DefaultStyles.Wrap, s) |
| 105 | } |
| 106 | |
| 107 | // Code formats code for display. |
| 108 | func Code(s string) string { |
no outgoing calls
no test coverage detected