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 trialaleksi
5,392 PointsClear irb screen
How do you clear interactive ruby terminal screen without exiting irb and then typing 'clear'?
edit: How do I do that in Treehouse's workspaces?
2 Answers
aleksi
5,392 PointsThank you for your answer, it worked! :) I tested command + l on mac, that didn't work tho. That's why this simple question.
Sandra Hogan
8,657 PointsMy Macbook has a control button too...right next to the function key on left...did you try that by any chance? I don't use my Mac often so not sure if it works or not.
Steve Shaw
898 PointsYes, on the Mac there is a control key underneath the shift key. So Control + L will work just fine.
Sandra Hogan
8,657 PointsSandra Hogan
8,657 PointsCTRL+L (holding control key and the letter L) will clear your screen without exiting irb