From a50bcb4b616f09bb9fefaf49f4d5481a68b6c01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Andr=C3=A9=20Zinser?= Date: Mon, 19 Mar 2018 22:02:02 +0100 Subject: [PATCH] Update the string that clears the console --- src/runner/testRunnerReporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner/testRunnerReporter.js b/src/runner/testRunnerReporter.js index 0350f33..836e66c 100644 --- a/src/runner/testRunnerReporter.js +++ b/src/runner/testRunnerReporter.js @@ -58,7 +58,7 @@ class Reporter { clearConsole() { if (this.interactive) { - process.stdout.write(process.platform === 'win32' ? '\x1Bc' : '\x1B[2J\x1B[3J\x1B[H'); + process.stdout.write(process.platform === 'win32' ? '\x1B[2J\x1B[0f' : '\x1B[2J\x1B[3J\x1B[H'); } }