ruby / TryRuby

This 4th iteration of TryRuby is a website where you can learn the Ruby language.
https://try.ruby-lang.org
MIT License
226 stars 97 forks source link

Add run shortcut #183

Closed liberaldev closed 1 month ago

liberaldev commented 2 months ago

Add a keyboard shortcut to run code without having to leave the keyboard. The shortcut is Crtl+Enter.

hmdne commented 2 months ago

@liberaldev Thanks! Can you try the mentioned changes? Perhaps the code can be simplified this way a little.

liberaldev commented 2 months ago

@liberaldev Thanks! Can you try the mentioned changes? Perhaps the code can be simplified this way a little.

I simplified the code.