]> Repositorios git - scryer-prolog.git/commitdiff
change ; over to SPACE
authorMark Thom <[email protected]>
Tue, 15 Aug 2017 20:15:28 +0000 (14:15 -0600)
committerMark Thom <[email protected]>
Tue, 15 Aug 2017 20:15:28 +0000 (14:15 -0600)
README.md
src/prolog/io.rs

index 924366db0a64c56ccb2b95a3a035653323a906cf..1d8708c4c2b1a30a341dc98f188c0af2fad7439f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -93,8 +93,8 @@ X = _0
 Z = _2
 ```
 
-Pressing ; will backtrack through other possible answers, if any exist.
-Pressing . will abort the search and return to the prompt.
+Pressing `SPACE` will backtrack through other possible answers, if any exist.
+Pressing `.` will abort the search and return to the prompt.
 
 Wildcards work as well:
 
index f26453e77531a57961214d7d3f16ff5952ee8f18..89a4b49598f0cd989ebe2b7b96b955f33a7fa132 100644 (file)
@@ -433,7 +433,7 @@ pub fn print(wam: &mut Machine, result: EvalSession) {
 
                     for c in stdin.keys() {
                         match c.unwrap() {
-                            Key::Char(';') => {
+                            Key::Char(' ') => {
                                 write!(stdout, " ;\n\r").unwrap();
                                 result = wam.continue_query(&alloc_locs, &mut heap_locs);
                                 break;