Skip to content

Clear all text from a terminal using TypeScript

import * as process from 'process';

// Clear all text from the terminal window.
function clearTerminal(): void {
See also  TypeScript code snippet - How to put column value counts into a histogram?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.