format: trim display

This commit is contained in:
iff 2023-07-31 19:19:20 +02:00
parent 2497ba5bcb
commit 3330e3fa31

View file

@ -25,5 +25,5 @@ pub fn highlight_difference(corrected_command: &str, last_command: &str) -> Stri
}
highlighted_command.pop();
highlighted_command
highlighted_command.trim().to_string()
}