Skip to content

Commit 88074ab

Browse files
authored
Use ConsoleProgressMonitor on Windows
1 parent 4bfe617 commit 88074ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractMCMC.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ end
5050
function progresslogger()
5151
# detect if code is running under IJulia since TerminalLogger does not work with IJulia
5252
# https://github.com/JuliaLang/IJulia.jl#detecting-that-code-is-running-under-ijulia
53-
if isdefined(Main, :IJulia) && Main.IJulia.inited
53+
if Sys.iswindows() || (isdefined(Main, :IJulia) && Main.IJulia.inited)
5454
return ConsoleProgressMonitor.ProgressLogger()
5555
else
5656
return TerminalLoggers.TerminalLogger()

0 commit comments

Comments
 (0)