replete-repl / replete-ios

ClojureScript REPL iOS app
Eclipse Public License 1.0
395 stars 25 forks source link

Add in Cmd+Enter keyboard shorcut for eval. #24

Closed cfdrake closed 9 years ago

cfdrake commented 9 years ago

Took a stab at #16.

cfdrake commented 9 years ago

Just a note for posterity: we both discussed this in the Clojurians Slack, but in the iOS simulator you can do Command+K to bring up the virtual keyboard and test this by doing Command+Enter from there.

And @mfikes the modifierFlags: .Command in this differentiates between basic Enter and Command-Enter.