termo 0.16.0

yet another terminal ui framework
Documentation
use inquire::ui::{Attributes, Color, RenderConfig, StyleSheet, Styled};

pub fn configure_prompt() {
    inquire::set_global_render_config(get_render_config());
}

pub fn get_render_config() -> RenderConfig {
    let mut render_config = RenderConfig::default()
        .with_option(
            StyleSheet::new()
                .with_fg(Color::Grey)
                .with_attr(Attributes::BOLD),
        )
        .with_selected_option(Option::<StyleSheet>::Some(
            StyleSheet::new()
                .with_fg(Color::LightMagenta)
                .with_attr(Attributes::BOLD),
        ))
        .with_text_input(StyleSheet::new().with_fg(Color::LightYellow));

    render_config.prompt_prefix = Styled::new("?")
        .with_fg(Color::DarkYellow)
        .with_attr(Attributes::BOLD);
    render_config.highlighted_option_prefix = Styled::new("")
        .with_fg(Color::LightMagenta)
        .with_attr(Attributes::BOLD);
    //question is to be displayed in yellow
    render_config.prompt = StyleSheet::new().with_fg(Color::LightYellow);
    render_config.scroll_up_prefix = Styled::new("")
        .with_fg(Color::LightMagenta)
        .with_attr(Attributes::BOLD);

    render_config.scroll_down_prefix = Styled::new("")
        .with_fg(Color::LightMagenta)
        .with_attr(Attributes::BOLD);

    render_config.error_message = render_config
        .error_message
        .with_prefix(Styled::new("🔖").with_fg(Color::LightRed));

    render_config.answer = StyleSheet::new().with_fg(Color::LightYellow);

    render_config.help_message = StyleSheet::new().with_fg(Color::DarkGrey);

    render_config
}