Skip to content

Commit d2a01f1

Browse files
Fix clear_status (#38)
1 parent c9d0acb commit d2a01f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ParallelTestRunner.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ function runtests(mod::Module, ARGS; test_filter = Returns(true), RecordType = T
578578
]
579579
)
580580

581-
elapsed_align = textwidth("Time (s)")
582581
print_lock = stdout isa Base.LibuvStream ? stdout.lock : ReentrantLock()
583582
if stderr isa Base.LibuvStream
584583
stderr.lock = print_lock
@@ -592,8 +591,8 @@ function runtests(mod::Module, ARGS; test_filter = Returns(true), RecordType = T
592591
function clear_status()
593592
if status_lines_visible[] > 0
594593
for i in 1:status_lines_visible[]-1
595-
print(io_ctx.stdout, "\033[1A") # Move up one line
596594
print(io_ctx.stdout, "\033[2K") # Clear entire line
595+
print(io_ctx.stdout, "\033[1A") # Move up one line
597596
end
598597
print(io_ctx.stdout, "\r") # Move to start of line
599598
status_lines_visible[] = 0

0 commit comments

Comments
 (0)