Issue #15442 has been updated by ana06 (Ana Maria Martinez Gomez).


I think I didn't have current trunk version. It seems to work no. Sorry

----------------------------------------
Bug #15442: irb behaves strange in Ruby 2.6
https://bugs.ruby-lang.org/issues/15442#change-75807

* Author: ana06 (Ana Maria Martinez Gomez)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: Ruby 2.6 (trunk)
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
When trying to press the UP, DOWN, LEFT and RIGHT keys in Ruby 2.6 strange characters are printed instead of moving (or showing the last executed instruction). This works properly for me in Ruby 2.5.

```
irb(main):004:0> ^[[A^[[A^[[B^[[C^[[D
```



-- 
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>