Commit 8e00f21be8

8e00f21be84bd90af6e8a5a1b02aef475f52d597

parent: 556d9ef612

Unsigned

Siriusmart <71584876+Siriusmart@users.noreply.github.com> · 2023-07-20 11:28 UTC

fixed issue #37

Layout: unified · split

Cargo.lock +1 −1
@@ -1520,7 +1520,7 @@ dependencies = [
1520 1520
1521[[package]] 1521[[package]]
1522name = "youtube-tui" 1522name = "youtube-tui"
1523version = "0.7.4" 1523version = "0.7.5"
1524dependencies = [ 1524dependencies = [
1525 "chrono", 1525 "chrono",
1526 "clipboard", 1526 "clipboard",
Cargo.toml +1 −1
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "youtube-tui" 2name = "youtube-tui"
3version = "0.7.4" 3version = "0.7.5"
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/searchbar.rs +1
@@ -86,6 +86,7 @@ impl FrameworkItem for SearchBar {
86 .unwrap() 86 .unwrap()
87 .get(key) 87 .get(key)
88 { 88 {
89 _ if matches!(key.code, KeyCode::Char(_)) && key.modifiers.bits() < 2 => render = false,
89 #[cfg(feature = "clipboard")] 90 #[cfg(feature = "clipboard")]
90 Some(KeyAction::Paste) => { 91 Some(KeyAction::Paste) => {
91 let content = get_clipboard(); 92 let content = get_clipboard();