[ruby-core:125094] [Ruby Feature#21960] Improve #backtrace to not confuse terminals