diff --git a/kernel/src/shell.rs b/kernel/src/shell.rs index e85e6bb..2031fc0 100644 --- a/kernel/src/shell.rs +++ b/kernel/src/shell.rs @@ -159,7 +159,9 @@ fn get_line(history: &mut Vec>) -> String { } cursor += 1; for _i in cursor..line_vec.len() { - put_char(BS); + put_char(ESC); + put_char(b'['); + put_char(b'D'); } } _ => {