Skip to content

Commit 785781d

Browse files
josevalimJosé Valim
authored andcommitted
Merge pull request #2950 from tonini/remove-dumb-terminal-warning
warning about dumb terminal just irritates users Signed-off-by: José Valim <[email protected]>
1 parent b2ac4c9 commit 785781d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/iex/lib/iex/cli.ex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,9 @@ defmodule IEx.CLI do
5353
if tty_works? do
5454
:user_drv.start([:"tty_sl -c -e", tty_args])
5555
else
56-
:application.set_env(:stdlib, :shell_prompt_func,
56+
:application.set_env(:stdlib, :shell_prompt_func,
5757
{__MODULE__, :prompt})
5858
:user.start()
59-
unless match? {:win32, _}, :os.type do
60-
IO.puts "Warning: could not run smart terminal, falling back to dumb one"
61-
end
6259
local_start()
6360
end
6461
end

0 commit comments

Comments
 (0)