pub fn new(title: TermString, message: TermString) -> Self {
        Self {
            title,
            message,
            style: Style::new()
                .align(1, 2)
                .colors(Color2::default())
                .top_margin(4)
                .bottom_margin(2),
            title_colors: Color2::default(),
            selected_colors: !Color2::default(),
            title_y: 1,
            bg: BasicColor::Black.into(),
        }
    }
/// Creates a dialog with default style settings.
Creates a dialog with default style settings.
Creates a dialog with default style settings .
pub fn new(title: TermString, message: TermString) -> Self {
        Self {
            title,
            message,
            style: Style::new()
                .align(1, 2)
                .colors(Color2::default())
                .top_margin(4)
                .bottom_margin(2),
            title_colors: Color2::default(),
            selected_colors: !Color2::default(),
            title_y: 1,
            bg: BasicColor::Black.into(),
        }
    }
pub fn new ( title : TermString , message : TermString ) -> Self { Self { title , message , style : Style :: new ( ) . align ( 1 , 2 ) . colors ( Color2 :: default ( ) ) . top_margin ( 4 ) . bottom_margin ( 2 ) , title_colors : Color2 :: default ( ) , selected_colors : ! Color2 :: default ( ) , title_y : 1 , bg : BasicColor :: Black . into ( ) , } }
Creates a dialog with default style settings.
Creates a dialog with default style settings .
title
TermString
message
TermString
title
TermString
message
TermString