Issue #13270 has been updated by Nobuyoshi Nakada.

Status changed from Open to Feedback

What terminal emulator are you using, the standard `Terminal.app`?

----------------------------------------
Bug #13270: IRB hangs when printing "\e]"
https://bugs.ruby-lang.org/issues/13270#change-63333

* Author: Dorian M
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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]



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>