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