1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/irb
Peter Jones e0bfdb23af [ruby/irb] Ensure stdout is a TTY before calling winsize
When outputting a (possibly truncated) value, IRB will query the
window size.  However, if IRB was piped to another process, stdout
will no longer be a TTY and will not support the `winsize` method.

This fix ensure that stdout is a TTY.

https://github.com/ruby/irb/commit/125de5eeea
2022-06-26 14:40:48 +09:00
..
cmd [ruby/irb] Commands should respect USE_COLORIZE config (https://github.com/ruby/irb/pull/362) 2022-06-20 22:27:30 +09:00
ext
lc [ruby/irb] Move :stopdoc: directive 2022-03-14 14:40:28 +09:00
.document
color.rb [ruby/irb] Use require_relative to require lib files 2022-01-17 14:23:40 +09:00
color_printer.rb [ruby/irb] Use require_relative to require lib files 2022-01-17 14:23:40 +09:00
completion.rb
context.rb
easter-egg.rb
extend-command.rb [ruby/irb] Changed to call Kernel.print 2022-01-27 01:28:52 +09:00
frame.rb
help.rb
init.rb
input-method.rb [ruby/irb] Ensure stdout is a TTY before calling winsize 2022-06-26 14:40:48 +09:00
inspector.rb [ruby/irb] Use require_relative to require lib files 2022-01-17 14:23:40 +09:00
irb.gemspec
locale.rb
magic-file.rb
notifier.rb
output-method.rb
ruby-lex.rb
ruby_logo.aa
src_encoding.rb
version.rb
workspace.rb
ws-for-case-2.rb
xmp.rb