Project

General

Profile

Actions

Bug #13270

closed

IRB hangs when printing "\e]"

Added by domaio (Dorian M) over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
[ruby-core:79878]

Description

Steps to reproduce:

  • irb
  • print "\e]"
  • Or: puts "\e["
  • try CMD+C, nothing happens
  • try CMD+D, prints "30m"

Expected behavior:

  • just prints "30m" (that's what pry does)

Ruby versions tried:

  • ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
  • ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0