Skip to content

Commit

Permalink
⎕ should be *evaluated* input in online demo, #91
Browse files Browse the repository at this point in the history
  • Loading branch information
ngn committed Nov 4, 2015
1 parent 4722ac9 commit 6b0e961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vocabulary/quad.coffee
Expand Up @@ -2,7 +2,7 @@ addVocabulary

'get_⎕': cps (_, _1, _2, callback) ->
if typeof window?.prompt is 'function'
setTimeout (-> callback new A(prompt('⎕:') or '')), 0
setTimeout (-> callback exec new A(prompt('⎕:') or '')), 0
else
process.stdout.write '⎕:\n'
readline ' ', (line) -> callback exec new A(line).toSimpleString()
Expand Down

0 comments on commit 6b0e961

Please sign in to comment.