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 6c2dc36 commit 485759a
Show file tree
Hide file tree
Showing 2 changed files with 29,039 additions and 29,001 deletions.
Loading

0 comments on commit 485759a

Please sign in to comment.