Skip to content

Commit

Permalink
Don't bother stty -a attempt if on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Jan 16, 2015
1 parent 93c1dba commit 876235e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby/stdlib/io/console.rb
Expand Up @@ -190,7 +190,7 @@ def self.console(sym = nil)
nil
end
end
else
elsif RbConfig::CONFIG['host_os'] !~ /(mswin)|(win32)|(ming)/
result = begin
old_stderr = $stderr.dup
$stderr.reopen('/dev/null')
Expand Down

0 comments on commit 876235e

Please sign in to comment.