News for hackers. Stuff that matters.
Re:Rocket – A Rust game running on WASM by mrec on Monday December 04, 2017 @10:52AM (#15844762)
Yeah, in a native app you'd use something like MapVirtualKey [1], but I don't think there's a web equivalent yet.

You still see native apps getting this wrong, though. On a UK keyboard Sublime Text's view menu says that "Show Console" is Ctrl-` (backtick), but the key that actually shows the console is Ctrl-' (single quote). Took me a while to find that.

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...

Re:Rocket – A Rust game running on WASM by KwanEsq on Monday December 04, 2017 @02:21PM (#15846615)
Huh, I'm using SublimeText with a UK keyboard and Ctrl+` shows the console (Ctrl+' just types a ')

That's on Linux though, what are you on, Windows? SublimeText Version 3.0, Build 3143

Re:Rocket – A Rust game running on WASM by mrec on Monday December 04, 2017 @02:39PM (#15846756)
Yeah, Windows 3126. May have been fixed, but definitely not just me: see https://forum.sublimetext.com/search?q=console%20uk