Skip to content

Commit 3907536

Browse files
Update src/tui/ui.rs
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent e155afc commit 3907536

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tui/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ fn draw_discovery(frame: &mut Frame, app: &App) {
266266
let row_count = app.discovery_rows.len();
267267
let available_height = chunks[1].height;
268268

269-
// Calculate row height, ensuring it's at least MIN_ROW_HEIGHT
269+
// Calculate row height, ensuring it's at least 1 to be visible
270270
let row_height = if row_count > 0 {
271271
(available_height / row_count as u16).max(1)
272272
} else {

0 commit comments

Comments
 (0)