Skip to content

Commit

Permalink
Bring back the nice LineEditREPL on Windows
Browse files Browse the repository at this point in the history
Windows doesn't have the TERM env var set outside of MSYS/Cygwin,
so c8ae026 caused Windows Julia to default to the BasicREPL.
  • Loading branch information
tkelman committed Apr 17, 2014
1 parent 8a5a3fc commit 3f53294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function _start()
global is_interactive = !isa(STDIN,Union(File,IOStream))
color_set || (global have_color = false)
else
term = Terminals.TTYTerminal(get(ENV,"TERM","dumb"),STDIN,STDOUT,STDERR)
term = Terminals.TTYTerminal(get(ENV,"TERM",@windows? "" : "dumb"),STDIN,STDOUT,STDERR)
global is_interactive = true
color_set || (global have_color = Terminals.hascolor(term))
end
Expand Down

0 comments on commit 3f53294

Please sign in to comment.