Issue #15442 has been updated by aycabta (aycabta .).


The keyboard line editing behaviors are based on GNU Readline. Please install GNU Readline before you build Ruby.

For example, if you're using Ubuntu 18.10, run `sudo apt install libreadline-dev` and re-build Ruby.

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

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