1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

config/default: don't buffer output

Unbuffered output allows using the tee command.
This commit is contained in:
Kyrylo Silin 2015-03-01 13:22:26 +02:00
parent f0cbec5071
commit 00072e8664

View file

@ -6,7 +6,7 @@ class Pry::Config::Default
lazy_readline
},
output: proc {
$stdout
$stdout.tap { |out| out.sync = true }
},
commands: proc {
Pry::Commands