fn render_title(&self, screen: &mut Screen) {
        let style = Style::new()
            .left_margin(1)
            .right_margin(1)
            .align(1, 2)
            .max_height(self.dialog.pad_after_title.saturating_add(1))
            .top_margin(self.dialog.title_y);
        screen.styled_text(&self.dialog.title, style);
    }
/// Renders the title of the input dialog.
Renders the title of the input dialog.
Renders the title of the input dialog .
fn render_title(&self, screen: &mut Screen) {
        let style = Style::new()
            .left_margin(1)
            .right_margin(1)
            .align(1, 2)
            .max_height(self.dialog.pad_after_title.saturating_add(1))
            .top_margin(self.dialog.title_y);
        screen.styled_text(&self.dialog.title, style);
    }
fn render_title ( & self , screen : & mut Screen ) { let style = Style :: new ( ) . left_margin ( 1 ) . right_margin ( 1 ) . align ( 1 , 2 ) . max_height ( self . dialog . pad_after_title . saturating_add ( 1 ) ) . top_margin ( self . dialog . title_y ) ; screen . styled_text ( & self . dialog . title , style ) ; }
Renders the title of the input dialog.
Renders the title of the input dialog .
&self
screen
&mut Screen
&self
screen
&mut Screen