use crate::checkers::checker_result::CheckResult;
use crate::cli_pretty_printing::human_checker_check;
use crate::config::get_config;
use crate::timer;
use text_io::read;
pub fn human_checker(input: &CheckResult) -> bool {
timer::pause();
let config = get_config();
if !config.human_checker_on || config.api_mode {
return true;
}
human_checker_check(&input.description, &input.text);
let reply: String = read!("{}\n");
let result = reply.to_ascii_lowercase().starts_with('y');
if !result {
timer::resume();
return false;
}
true
}