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 trialChristopher Phillips
10,061 PointsCurly braces & square brackets not available to me within IRB on my keyboard
I live in Finland and my keyboard is a Steelseries APEX M500 with a nordic layout. I can type both bracket types into any text field {[]} and the command is CTRL+ALT+7/8/9/0. However, using this same command within IRB results in nothing being typed. Does anyone have an alternate solution? I have no other text editor (read: console) to test if this is restricted to the Workspaces editor or not. I sure hope this isn't a deal breaker learning Ruby via Treehouse because as of right now, I'll have to skip IRB whenever the teacher is demonstrating anything with these brackets.
2 Answers
Xayaseth Boudsady
21,951 PointsYou can re-map your keys, so other keys can use those special symbols. Find out how on your current operating system.
Christopher Phillips
10,061 PointsHi Jay!
Thanks for your answer. TBH, I never really use the extra characters for the nordic layout. I'm visiting the US in about a month and thought about picking up a standard US layout keyboard there. Great idea! (also an excuse to get another keyboard :) :) )
Really enjoying this course!
Jay McGavren
Treehouse TeacherJay McGavren
Treehouse TeacherThanks for the detailed summary! I doubt this will fix anything, but what OS and browser are you using?
Is it just IRB that's affected? Are you able to type those characters into the main Bash shell (after exiting out of IRB)?
I'll file a bug with our development team. If you can give me the above info, that would be useful to add to the report. Meanwhile, I hate to suggest this, but you might try switching to a USA layout and see if that works.