ratatui_toolkit/widgets/markdown_widget/widget/constructors/
show_statusline.rs

1//! Enable or disable the statusline.
2
3use crate::widgets::markdown_widget::widget::MarkdownWidget;
4
5impl<'a> MarkdownWidget<'a> {
6    /// Set whether to show the statusline.
7    ///
8    /// # Arguments
9    ///
10    /// * `show` - Whether to show the statusline
11    ///
12    /// # Returns
13    ///
14    /// Self for method chaining.
15    pub fn show_statusline(mut self, show: bool) -> Self {
16        self.show_statusline = show;
17        self
18    }
19}