Skip to content

Commit

Permalink
Print 10 rows instead of 5 for select
Browse files Browse the repository at this point in the history
Signed-off-by: Slendi <[email protected]>
  • Loading branch information
slendidev committed Feb 25, 2025
1 parent 485dfe3 commit ca9692b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ impl CLI {

let mut selected_indices: Vec<usize> = selected.to_vec();
let mut current_index = selected.first().copied().unwrap_or(0);
let visible_count = 5.min(options.len());
let visible_count = 10.min(options.len());
write!(std::io::stdout(), "{}\r", prompt).unwrap();

for _ in 0..=visible_count {
Expand Down

0 comments on commit ca9692b

Please sign in to comment.