add ; key.

This commit is contained in:
Mark Thom
2018-02-27 17:21:43 -07:00
parent 92cd018bc7
commit 33834609c3

View File

@@ -630,7 +630,7 @@ pub fn print(wam: &mut Machine, result: EvalSession) {
for c in stdin.keys() {
match c.unwrap() {
Key::Char(' ') => {
Key::Char(' ') | Key::Char(';') => {
write!(stdout, " ;\n\r").unwrap();
result = wam.continue_query(&alloc_locs, &mut heap_locs);
break;