feat: multiple AI suggestion

This commit is contained in:
iff 2024-12-12 16:17:04 +01:00
parent dc705545ce
commit 6392118cb6
2 changed files with 6 additions and 4 deletions

View file

@ -29,8 +29,10 @@ fn main() -> Result<(), std::io::Error> {
let note = fill(&suggest.note, termwidth());
eprintln!("{}\n{}\n", warn, note);
let command = suggest.command;
print!("{}<_PR_BR>", command);
let suggestions = suggest.commands;
for suggestion in suggestions {
print!("{}<_PR_BR>", suggestion);
}
}
Ok(())
}