mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Pass actual terminal width into pp
This commit is contained in:
parent
edc8ff6966
commit
1836a02572
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Pry
|
|||
DEFAULT_PRINT = proc do |output, value|
|
||||
Pry::Pager.with_pager(output) do |pager|
|
||||
pager.print "=> "
|
||||
Pry::ColorPrinter.pp(value, pager)
|
||||
Pry::ColorPrinter.pp(value, pager, Pry::Terminal.width! - 1)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue