pub fn new(title: TermString, options: Vec<O>) -> Self {
        Self {
            title,
            options,
            title_colors: Color2::default(),
            arrow_colors: Color2::default(),
            selected_colors: !Color2::default(),
            unselected_colors: Color2::default(),
            bg: BasicColor::Black.into(),
            title_y: 1,
            pad_after_title: 2,
            pad_after_option: 1,
        }
    }
/// Creates a new menu with default styles.
Creates a new menu with default styles.
Creates a new menu with default styles .
pub fn new(title: TermString, options: Vec<O>) -> Self {
        Self {
            title,
            options,
            title_colors: Color2::default(),
            arrow_colors: Color2::default(),
            selected_colors: !Color2::default(),
            unselected_colors: Color2::default(),
            bg: BasicColor::Black.into(),
            title_y: 1,
            pad_after_title: 2,
            pad_after_option: 1,
        }
    }
pub fn new ( title : TermString , options : Vec < O > ) -> Self { Self { title , options , title_colors : Color2 :: default ( ) , arrow_colors : Color2 :: default ( ) , selected_colors : ! Color2 :: default ( ) , unselected_colors : Color2 :: default ( ) , bg : BasicColor :: Black . into ( ) , title_y : 1 , pad_after_title : 2 , pad_after_option : 1 , } }
Creates a new menu with default styles.
Creates a new menu with default styles .
title
TermString
options
Vec<O>
title
TermString
options
Vec<O>