Handle backspace for k210/qemu platform && Add lots of user tests.

This commit is contained in:
Yifan Wu 2020-12-11 01:44:07 +08:00
parent f69b3e11dd
commit 48a11e53ff
20 changed files with 361 additions and 35 deletions

View file

@ -53,7 +53,7 @@ pub fn main() -> i32 {
}
print!(">> ");
}
DL => {
BS | DL => {
if !line.is_empty() {
print!("{}", BS as char);
print!(" ");