Historique fonctionne

This commit is contained in:
Justine
2022-12-24 11:18:48 +01:00
parent c65a6aa4d0
commit b64505106f
2 changed files with 5 additions and 4 deletions

View File

@ -186,7 +186,7 @@ pub mod shell {
let mut stdout = stdout().into_raw_mode().unwrap();
//write!(stdout, "{}", cursor::Save);
for c in current_cmd.graphemes(true) {
for _c in current_cmd.graphemes(true) {
write!(stdout, "\x1b[D").unwrap();
write!(stdout, "\x1b[K").unwrap();
}