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 trialMichele Pighi
9,287 PointsHow to type tilde symbol?
I'm on Mac, Yosemite. Alt+5 doesn't do anything. Thanks!
8 Answers
Jeff Busch
19,287 PointsYou should find it above the Tab key.
Daniel Andersson
11,181 PointsAccording to this template the alt code is 126. Simply hold down the ALT key, write the code, and release. http://www.alt-codes.net/
Jan Van Raemdonck
22,961 PointsAlt + N should work
Luis Romero
Front End Web Development Techdegree Graduate 18,596 PointsThanks, this work for me!
Ani Malkhassian
8,710 PointsTry Shift + "tilde" key. It's the one above the tab on a Mac.
Francisco Navarro
14,185 PointsHi! I'm dealing now with this issue.
I have a mac running with Yosemite with a Spanish keyboard. Finally it depends on the terminal you are using. If you are using the console treehouse provides you, shortcuts doesn't work (except shift+someletter) so the only option I see is to change the keyboard in System Preferences->Keyboard and input Sources tab, then press plus button and look for U.S keyboard (be sure that "Show input menu in menu bar" is marked down as you can change it easily in the menu bar). Then you can type the tilde symbol with "Shift+(the key located between z and shift)".
Something similar happends on terminal in mac, but with the difference that shortcuts work so if you have, for instance, the "italian typewriter keyboard" just type "alt+n" for tilde symbol.
If I don't explain myself well let me know and I'll try to explain in other way.
Thanks
Vittorio Somaschini
33,371 PointsGuys this normally works for me like in pages or whatever software, but treehouse console doesn't seem to accept shortcuts.
Any other ideas?
ty
Michele Pighi
9,287 PointsYeah, same here.
Vittorio Somaschini
33,371 PointsHello Ani Malkhassian It is not the same for all mac, it depends on what keyboard you have for example (Italian my case - does not have the tilde at all).
And combinations of keys do not work on the console
At least not all of them
Ani Malkhassian
8,710 PointsMy apologies, Since it does seem to be only for the console, did switching keyboard languages not help either?
Vittorio Somaschini
33,371 PointsNps Ani.
Yes, using a US keyboard made it work. it is actually the "<" for Italian users.
Still not an ideal solution as it takes too much time but at least it works.
;)
Thanks
Vittorio
PS for now I have simply added the Tilde to the favorites in the list of characters of my mac in the keyboard settings, still better than nothing.
Alexander Schott
8,318 PointsIts true that not every keyboard key works in the console. I am running windows 7 as a bootcamp partition on my macbook pro. If i want to type a tilde i need to press ALTbig and +. ~ If i try that in the console, it doesn't work.