Skip to content

Commit

Permalink
fix: clear screen and scrollback on iTerm2 (#5978)
Browse files Browse the repository at this point in the history
  • Loading branch information
kxalex committed Jun 29, 2024
1 parent 429e1a7 commit d7f23d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class Logger {
return
}

this.console.log(`${ERASE_SCROLLBACK}${CLEAR_SCREEN}${message}`)
this.console.log(`${CLEAR_SCREEN}${ERASE_SCROLLBACK}${message}`)
}

clearScreen(message: string, force = false) {
Expand Down

0 comments on commit d7f23d0

Please sign in to comment.