Commit 71fc17fe7d

71fc17fe7d7d177a2c48e0b722e51590aa1728f1

parent: bedd518fdf

Unsigned

siriusmart <siriusmart@tuta.io> · 2025-08-11 12:44 UTC

clicking on blank area scrolls, #86

Layout: unified · split

Cargo.lock +1 −1
@@ -3374,7 +3374,7 @@ dependencies = [
3374 3374
3375[[package]] 3375[[package]]
3376name = "youtube-tui" 3376name = "youtube-tui"
3377version = "0.9.0" 3377version = "0.9.1"
3378dependencies = [ 3378dependencies = [
3379 "chrono", 3379 "chrono",
3380 "clipboard", 3380 "clipboard",
Cargo.toml +1 −1
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "youtube-tui" 2name = "youtube-tui"
3version = "0.9.0" 3version = "0.9.1"
4authors = ["Siriusmart <siriusmart@tuta.io>"] 4authors = ["Siriusmart <siriusmart@tuta.io>"]
5edition = "2021" 5edition = "2021"
6description = "An aesthetically pleasing YouTube TUI written in Rust" 6description = "An aesthetically pleasing YouTube TUI written in Rust"
src/items/itemlist.rs +1 −1
@@ -499,7 +499,7 @@ impl FrameworkItem for ItemList {
499 499
500 // clicking on rows after the last item 500 // clicking on rows after the last item
501 if y > self.textlist.items.len() + 1 { 501 if y > self.textlist.items.len() + 1 {
502 return false; 502 return self.textlist.last().is_ok();
503 } 503 }
504 504
505 // moving the cursor 505 // moving the cursor