/// Iterate over the *renderable* cells in the terminal
///
/// A renderable cell is any cell which has content other than the default
/// background color.  Cells with an alternate background color are
/// considered renderable as are cells with any text content.
Iterate over the *renderable* cells in the terminal
A renderable cell is any cell which has content other than the default
background color.  Cells with an alternate background color are
considered renderable as are cells with any text content.
Iterate over the * renderable * cells in the terminal A renderable cell is any cell which has content other than the default background color . Cells with an alternate background color are considered renderable as are cells with any text content .
pub fn renderable_cells<'b>(
        &'b self,
        config: &'b Config,
        selection: Option<&'b Selection>,
        window_focused: bool,
    ) -> RenderableCellsIter {
        let selection = selection.and_then(|s| s.to_span(self))
            .map(|span| span.to_range());
        let cursor = if window_focused {
            self.cursor_style.unwrap_or(self.default_cursor_style)
        } else {
            CursorStyle::HollowBlock
        };
        RenderableCellsIter::new(
            &self.grid,
            &self.cursor.point,
            &self.colors,
            self.mode,
            config,
            selection,
            cursor,
        )
    }
pub fn renderable_cells < ' b > ( & ' b self , config : & ' b Config , selection : Option < & ' b Selection > , window_focused : bool , ) -> RenderableCellsIter { let selection = selection . and_then ( | s | s . to_span ( self ) ) . map ( | span | span . to_range ( ) ) ; let cursor = if window_focused { self . cursor_style . unwrap_or ( self . default_cursor_style ) } else { CursorStyle :: HollowBlock } ; RenderableCellsIter :: new ( & self . grid , & self . cursor . point , & self . colors , self . mode , config , selection , cursor , ) }
Iterate over the *renderable* cells in the terminal
A renderable cell is any cell which has content other than the default
background color.
Iterate over the * renderable * cells in the terminal A renderable cell is any cell which has content other than the default background color .
&'b self
config
&'b Config
selection
Option<&'b Selection>
window_focused
bool