mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-20 06:09:17 +02:00
Added #\escape
This commit is contained in:
parent
bf896f6b74
commit
ffba7ff683
1 changed files with 2 additions and 0 deletions
|
@ -5979,6 +5979,8 @@ void _read_return_character(void *data, port_type *p)
|
|||
return_thread_runnable(data, obj_char2obj('\b'));
|
||||
} else if(strncmp(p->tok_buf, "delete", 6) == 0) {
|
||||
return_thread_runnable(data, obj_char2obj(127));
|
||||
} else if(strncmp(p->tok_buf, "escape", 6) == 0) {
|
||||
return_thread_runnable(data, obj_char2obj(27));
|
||||
} else if(strncmp(p->tok_buf, "newline", 7) == 0) {
|
||||
return_thread_runnable(data, obj_char2obj('\n'));
|
||||
} else if(strncmp(p->tok_buf, "null", 4) == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue