diff --git a/Project.toml b/Project.toml index bac82e5..d662a16 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ParallelProcessingTools" uuid = "8e8a01fc-6193-5ca1-a2f1-20776dae4199" -version = "0.4.9" +version = "0.4.10" [deps] ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" diff --git a/src/display.jl b/src/display.jl index 256e84d..e79b0ff 100644 --- a/src/display.jl +++ b/src/display.jl @@ -72,7 +72,12 @@ function _printover_screen(io::IO, s::AbstractString, color::Symbol = :color_nor print(io, "\r") printstyled(io, s; color=color) if isdefined(Main, :IJulia) - Main.IJulia.stdio_bytes[] = 0 # issue #76: circumvent IJulia I/O throttling + # issue #76: circumvent IJulia I/O throttling + if pkgversion(Main.IJulia) < v"1.30" + Main.IJulia.stdio_bytes[] = 0 + else + Main.IJulia.reset_stdio_count() + end elseif isdefined(Main, :ESS) || isdefined(Main, :Atom) else print(io, "\u1b[K") # clear the rest of the line