mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-14 23:33:52 +01:00
feat: auto-retry if suggestion failed
This commit is contained in:
parent
b6c298d8f7
commit
1444eeab84
3 changed files with 35 additions and 13 deletions
|
|
@ -35,7 +35,7 @@ pub fn highlight_difference(shell: &str, suggested_command: &str, last_command:
|
|||
}
|
||||
for old in &old_entries {
|
||||
if old == entry {
|
||||
*entry = entry.cyan().to_string();
|
||||
*entry = entry.blue().to_string();
|
||||
continue 'next;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue