Categories
Is it possible to change the text in the console?
Is it possible to change the text in the console? For example: I print Hello to the console, and after a second I change the text to Hello World.
Answer the question
In order to leave comments, you need to log in
Something like this?
process.stdout.write('Hello'); setTimeout(() => { process.stdout.write('\rHello World'); }, 1000);
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question