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 concate a string to all elements in a list in python?

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.