Sophrinix / TryRuby

Try Ruby is a interactive shell that quickly and whimsically teaches the Ruby programming language. Originally _why's idea, it has been recreated from the ground up by Rubyists who have a passion for Ruby and for teaching their fellow (wo)man how to program.
tryruby.org
346 stars 79 forks source link

Cannot type braces #37

Open badp opened 14 years ago

badp commented 14 years ago

In the italian keyboard layout, braces are typed AltGr-Shift-è (the key next to 'p') and AltGr-Shift-+ (the key next to 'è').

TryRuby does not recognise these keypresses; this makes most of the tutorial unusable.

Sophrinix commented 14 years ago

What web browser are you using? What Operating system (windows, linux,mac, etc) are you using?

badp commented 14 years ago

Windows. (Linux, Mac untested.) Chrome 5 and Internet Explorer 8. (Firefox 3.6, Opera 10.5 ok.)

Sophrinix commented 14 years ago

this is going to sound bad, but I would like it see it work on Opera, but it isn't a priority. If they were an open browser I would be a bit more aggressive making it work on Opera. After the great refactor I will take a second look at Opera.

badp commented 14 years ago

erm... Maybe I wasn't clear, but it does work in Opera. :)

Chrome and IE8 have the issue.

Sophrinix commented 14 years ago

on windows. check.. okay.. I'll move this into a high priority then. It needs to work with webkit (future plans depend on it). IE has the market still, so I can't ignore it.

badp commented 14 years ago

Yep. TryRuby on Chromium 5.0.350.0 for Ubuntu does not have this bug. (For comparison's sake, I'm running Chrome 5.0.342.5 when on Windows.)

AnderScore commented 13 years ago

The same for swedish keyboard. Windows 7, Chrome 9.0.587.0

Michael-Dorfman commented 13 years ago

Same problem for Norwegian keyboard, Windows 7, Chrome 8 and IE8

soend commented 13 years ago

Same problem for Estonian keyboard, Windows 7, Chrome.

tholu commented 13 years ago

Same problem for German keyboard, Windows 7 + Chrome.

brightway commented 13 years ago

Same problem Spanish Keyboard, Snow Leopard +Firefox

kilskrift commented 13 years ago

cannot enter backspace, swedish keyboard, osx 10.6.6, chrome 9.0.597

JeromeM commented 13 years ago

Same problem for French Keyboard.

Windows Vista & 7 Chrome 10, IE8, IE9

It actually works on Firefox 4 and Opera 11

Sophrinix commented 13 years ago

i have a fix for this in a local branch. I have had to completely change out the javascript interactive console. I am still testing this functionality. It should launch sometime in the next few days.

JeromeM commented 13 years ago

Great news, can't wait to test it !

Michael-Dorfman commented 13 years ago

Has the fix been posted? I'm still having the problem on a Norwegian Keyboard. I've tested using Chrome 11 and IE9, and can't type the square brackets or curly braces (which require the use of Alt-Gr).

Sophrinix commented 13 years ago

no, the fix will be announced. I am having an issue with line indentation with the rewrite.

MaL73 commented 13 years ago

Hi,

I have the same problem with a french keyboard. The way to get around is to use the ascii code of the character you need. To get [ you hold down the ALT key and while you do that you type on your numerical keypad 91 and then you release the ALT key. to get ] you type ALT-93 to get | you type in ALT-124

Comment Hi,

I have the same problem with a french keyboard. The way to get around is to use the ascii code of the character you need. To get [ you hold down the ALT key and while you do that you type on your numerical keypad 91 and then you release the ALT key. to get ] you type ALT-93 to get | you type in ALT-124 or cancel

mfilej commented 12 years ago

I've encountered the same problem on a windows computer running chrome, with the SI keyboard layout.

Sophrinix commented 12 years ago

On Tue, Jun 5, 2012 at 6:43 AM, Miha Filej reply@reply.github.com wrote:

I've encountered the same problem on a windows computer running chrome, with the SI keyboard layout.

is this with the current running version over at tryruby.org or from the source code in this git repository?

i ask because they are two entirely different code bases.

Regardless, thank you for reporting it.


Reply to this email directly or view it on GitHub: https://github.com/Sophrinix/TryRuby/issues/37#issuecomment-6123022

mfilej commented 12 years ago

I'm sorry, I totally missed that. It was on tryruby.org.

felipeands commented 9 years ago

type Brace, ENTER