Return numbers from screen_size, kthxbai...

This commit is contained in:
Conrad Irwin 2012-11-29 10:08:50 -08:00
parent bd9804cb0e
commit 6a9dd8ee70
1 changed files with 1 additions and 1 deletions

View File

@ -21,6 +21,6 @@ class Pry::TerminalInfo
ENV['ANSICON'] =~ /\((.*)x(.*)\)/ && [$2, $1]
].detect do |(_, cols)|
cols.to_i > 0
end
end.map!(&:to_i)
end
end