Skip to content

0.0.1

Latest

Choose a tag to compare

@timneutkens timneutkens released this 15 Aug 23:11
· 2 commits to master since this release

Clear terminal screen but keep output history.

History

While working on friendly-errors-webpack-plugin to improve it for Next.js, I needed to clear the terminal screen without overriding previous output. Using ANSI escapes works for clearing the screen, but it will also override the output that's visible at that moment. So I created this simple solution to clear the screen but keep the history