Historique fonctionne
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user