Skip to content

Commit

Permalink
Merge fbe7d1a into f3fd04d
Browse files Browse the repository at this point in the history
  • Loading branch information
kowal committed Aug 7, 2015
2 parents f3fd04d + fbe7d1a commit f7d06b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tty/screen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def size
# @api private
def from_io_console
return if jruby?
return unless $stdout.tty?
Kernel.require 'io/console'
return unless IO.respond_to?(:console)
size = IO.console.winsize
Expand Down

0 comments on commit f7d06b6

Please sign in to comment.