diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-28 13:17:47 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-28 13:17:47 +0200 |
commit | 1e0c68482267f7e7393d2cde5042fcd863b8e23b (patch) | |
tree | 16912b7e018d7cd46d39c6a04a4ff80f11d74874 /js/codeq | |
parent | eebd97ef0f3b5779138c23077663d1e5270f166a (diff) |
Add 'r' (redo) for next answer in Prolog
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/prolog.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index ddeda2e..be6b0c8 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -151,7 +151,8 @@ case ' ':
case ';':
case 'n':
- return ';'; // show next answer on space, semicolon or 'n'
+ case 'r':
+ return ';'; // show next answer on space, semicolon, 'n' or 'r'
default:
return '.'; // everything else: stop searching for answers
}
|