Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


IRB typing problem

Every time I try to get back or forward in irb with left or right keyboard arrow it starts to type ^[[C or ^[[D so there is no way I can go back and correct mistake in the middle of a line. Let's say I forgot to close quotation marks in the middle of a line, only way I could correct this is to delete everything to that point and start again. Up and down keyboard arrow also not working for me and gives me ^[[A and ^[[B . Is this suppose to work that way or something is wrong here?

2 Answers

I'm using Windows 8.1. Do you think it has something to do with my OS version?

William Li
William Li
Courses Plus Student 26,868 Points

I think it certainly does, because Windows command prompt and linux/Mac's Terminal are quite different. I've been using irb on both Mac and Linux, and things just work right out of the box.

Unfortunately, I don't know much about using Windows as a development machine, maybe someone more knowledgeable with Windows can help you out here. Sorry about that.

Ok. Thank you very much for your time