Skip to content

Commit

Permalink
console: don't reset the terminal con console.clear()
Browse files Browse the repository at this point in the history
It has side-effects: https://stackoverflow.com/a/37778152

The new implementation follows Node, that is, it moves the cursor home
and then it clears the screen down from there.

IN addition, avoid doing any of this if the terminal is dumb.
  • Loading branch information
saghul committed Jul 18, 2024
1 parent 371fee4 commit 453e2bb
Show file tree
Hide file tree
Showing 2 changed files with 29,039 additions and 29,001 deletions.
Loading

0 comments on commit 453e2bb

Please sign in to comment.