diff options
| author | krolxon <krolyxon@tutanota.com> | 2024-04-27 13:22:55 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2024-04-27 13:22:55 +0530 |
| commit | ad2e99ce76cffc94d04730243f8724af518b98e3 (patch) | |
| tree | 63bba609213d077762cc9bb88f0ed06c6d6049c0 /src/handler.rs | |
| parent | 255687be7cb6e6314f2c6f56c098d5113c1c091a (diff) | |
added keybind to remove highlighted song from queue
Diffstat (limited to 'src/handler.rs')
| -rwxr-xr-x | src/handler.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/handler.rs b/src/handler.rs index c3b001e..2a18a1c 100755 --- a/src/handler.rs +++ b/src/handler.rs @@ -284,6 +284,11 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { app.inputmode = InputMode::toggle_editing_states(&app.inputmode); } + // Remove from Current Playlsit + KeyCode::Backspace => { + app.remove_from_current_playlist(); + } + _ => {} } } |
