calculate_available_data_rows

Function calculate_available_data_rows 

Source
pub fn calculate_available_data_rows(terminal_height: u16) -> u16
Expand description

Calculate the number of data rows available for display in the terminal This accounts for all UI chrome including input area, status bar, table header, and borders