pub fn inspect_cell(buffer: &Buffer, x: u16, y: u16) -> Option<CellPreview>Expand description
Inspect a cell at the given position in a buffer
Returns Some(CellPreview) if the position is within the buffer bounds,
None otherwise.
§Example
ⓘ
use tui_dispatch_core::debug::inspect_cell;
let preview = inspect_cell(&buffer, 10, 5);
if let Some(cell) = preview {
println!("Symbol: {}, FG: {:?}", cell.symbol, cell.fg);
}