diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/prolog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/prolog.js b/js/prolog.js index c3e3da8..089f63e 100644 --- a/js/prolog.js +++ b/js/prolog.js @@ -60,8 +60,8 @@ terminal.echo(''); // send newline after semicolon or full-stop terminal.pause(); }, 0); - if ((event.which == 32) || (event.which == 59)) { - // space or semicolon -> show next answer + if ((event.which == 32) || (event.which == 59) || (event.which == 110)) { + // space or semicolon or n -> show next answer event.which = 59; // semicolon codeq.comms.sendQuery({ 'problem_id': problem_id, |