Skip to content

Commit

Permalink
cargo update & fix list indices
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabus1184 committed Jan 2, 2024
1 parent 1a0b3e7 commit 493eb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tui/files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ impl Tui for Files {
if selected < len + 1 - area.height as usize / 2 {
selected - area.height as usize / 2
} else {
len + 2 - area.height as usize
len + 1 - area.height as usize
}
} else {
0
Expand Down

0 comments on commit 493eb12

Please sign in to comment.