Skip to content

Commit 6975f7c

Browse files
author
Christopher Doris
committed
remove some magic
1 parent 79b173f commit 6975f7c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Core/stdlib.jl

-11
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,7 @@ function init_stdlib()
1818
# if Python is interactive, ensure Julia is too
1919
if pyhasattr(pysysmodule, "ps1")
2020
Base.eval(:(is_interactive = true))
21-
REPL = Base.require(Base.PkgId(Base.UUID("3fa0cd96-eef1-5676-8a61-b3b8758bbffb"), "REPL"))
22-
# adapted from run_main_repl() in julia/base/client.jl
2321
Base.load_InteractiveUtils()
24-
term_env = get(ENV, "TERM", Sys.iswindows() ? "" : "dumb")
25-
term = REPL.Terminals.TTYTerminal(term_env, stdin, stdout, stderr)
26-
if term.term_type == "dumb"
27-
repl = REPL.BasicREPL(term)
28-
else
29-
repl = REPL.LineEditREPL(term, get(stdout, :color, false), true)
30-
repl.history_file = false
31-
end
32-
pushdisplay(REPL.REPLDisplay(repl))
3322
end
3423

3524
else

0 commit comments

Comments
 (0)