* Replaces the current line with the given text. * @param text The text to replace the current line with.
(text)
| 12 | * @param text The text to replace the current line with. |
| 13 | */ |
| 14 | static replaceLine(text) { |
| 15 | return '\x1b[A\x1b[2K' + text; |
| 16 | } |
| 17 | /** |
| 18 | * Renders the given text as error text. |
| 19 | * @param error Error text to render. |
nothing calls this directly
no outgoing calls
no test coverage detected