ruby / irb

interactive Ruby
BSD 2-Clause "Simplified" License
393 stars 119 forks source link

Accept " " for colorizing "\t" test #924

Closed tompng closed 7 months ago

tompng commented 7 months ago

Need for https://github.com/ruby/reline/pull/655

After Reline implements bracketed paste, text containing "\t" can be inserted to IRB. Reline can't render "\t" because the rendered width of "\t" is unknown and flexible, (and I think Reline only supports width within 0..2 now). There are two options.

https://github.com/ruby/reline/pull/655 is doing the former one, need to fix IRB's tab colorizing test.