]> Repositorios git - scryer-prolog.git/commitdiff
get_single_char reads Tab as \t
authornotoria <[email protected]>
Sat, 18 Apr 2020 11:33:42 +0000 (13:33 +0200)
committernotoria <[email protected]>
Sat, 18 Apr 2020 11:33:42 +0000 (13:33 +0200)
src/prolog/machine/system_calls.rs

index 1b2f48f0317cada070c9fbdb186e812012cdde73..1a783ac95f4c6b19d93a2d3384d260676c9b65fd 100644 (file)
@@ -81,6 +81,10 @@ pub fn get_single_char() -> char {
                     c = '\n';
                     break;
                 },
+                KeyCode::Tab => {
+                    c = '\t';
+                    break;
+                },
                 _ => ()
             }
         }