mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Return numbers from screen_size, kthxbai...
This commit is contained in:
parent
bd9804cb0e
commit
6a9dd8ee70
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ class Pry::TerminalInfo
|
||||||
ENV['ANSICON'] =~ /\((.*)x(.*)\)/ && [$2, $1]
|
ENV['ANSICON'] =~ /\((.*)x(.*)\)/ && [$2, $1]
|
||||||
].detect do |(_, cols)|
|
].detect do |(_, cols)|
|
||||||
cols.to_i > 0
|
cols.to_i > 0
|
||||||
end
|
end.map!(&:to_i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue