Skip to content

Instantly share code, notes, and snippets.

@davidchase
Last active August 29, 2015 14:27
Show Gist options
  • Save davidchase/a971f1b70d6b9a195bf0 to your computer and use it in GitHub Desktop.
Save davidchase/a971f1b70d6b9a195bf0 to your computer and use it in GitHub Desktop.
// clear node repl
// \u001B[2J clear terminal
// \u001B[0;0f cursor back to position 0,0.
process.stdout.write('\u001B[2J\u001B[0;0f');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment