Skip to main content

new_panel

Function new_panel 

Source
pub fn new_panel<'a>(styles: &'a SessionStyles) -> Panel<'a, SessionStyles>
Expand description

Create a new Panel with terminal-aware border type as default.

This preserves the previous behavior where Panel::new automatically selected the border type based on terminal capabilities.