diff options
Diffstat (limited to 'bootstraptest/runner.rb')
-rwxr-xr-x | bootstraptest/runner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 4e9196ef3d..56b4b12230 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -171,8 +171,8 @@ End end def erase(e = true) - if e and @columns > 0 and !@verbose - "\r#{" "*@columns}\r" + if e and @columns > 0 and @tty and !@verbose + "\e[1K\r" else "" end |