I'm using Ubuntu Server 10 lucid, ruby 1.9.2-p0. In irb, the left arrow shows ^[[D. Any idea?
14
votes
...as opposed to what? At the very least you'll need a readline-aware irb I believe.
- user166390
As for "why": Because that's what the raw command sequence looks like rendered as characters when the console does not specifically handle this key (for example by moving the cursor to the left). :)
- deceze
@deceze thanks for explain the details for me
- mko
3 Answers
6
votes