[−][src]Function fedora_update_feedback::ask_feedback
pub fn ask_feedback<'a>(
rl: &mut Editor<()>,
update: &'a Update,
builds: &[String]
) -> Result<Feedback<'a>, String>
This helper function prompts for all feedback values for a given update.
This includes:
- a prompt whether to skip the current update,
- text feedback (can be multiple lines, leading and trailing whitespace will be stripped
automatically; two empty lines or EOF (
Ctrl-D
) ends comment input)
If enabled at compile time, it also asks for bug and testcase feedback.