We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba3c3c commit 1aeb7aeCopy full SHA for 1aeb7ae
lib/iex/lib/iex.ex
@@ -338,7 +338,7 @@ defmodule IEx do
338
Get the width to be used on helpers with a maximum (and default) of 80 chars.
339
"""
340
def width do
341
- case :io.columns(:standard_input) do
+ case :io.columns() do
342
{:ok, width} -> min(width, 80)
343
{:error, _} -> 80
344
end
lib/mix/lib/mix/tasks/help.ex
@@ -97,7 +97,7 @@ defmodule Mix.Tasks.Help do
97
98
99
defp width() do
100
101
102
103
0 commit comments