Skip to content
Permalink
Browse files
Don't bother stty -a attempt if on windows
  • Loading branch information
enebo committed Jan 16, 2015
1 parent 93c1dba commit 876235e7264ff0b88da7896efd316889e438cd56
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ruby/stdlib/io/console.rb
@@ -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')

0 comments on commit 876235e

Please sign in to comment.