pub fn calculate_available_data_rows(terminal_height: u16) -> u16
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