add ; key.
This commit is contained in:
@@ -630,7 +630,7 @@ pub fn print(wam: &mut Machine, result: EvalSession) {
|
|||||||
|
|
||||||
for c in stdin.keys() {
|
for c in stdin.keys() {
|
||||||
match c.unwrap() {
|
match c.unwrap() {
|
||||||
Key::Char(' ') => {
|
Key::Char(' ') | Key::Char(';') => {
|
||||||
write!(stdout, " ;\n\r").unwrap();
|
write!(stdout, " ;\n\r").unwrap();
|
||||||
result = wam.continue_query(&alloc_locs, &mut heap_locs);
|
result = wam.continue_query(&alloc_locs, &mut heap_locs);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user