From 1da0b85fa9e59ce1df1e440dfa72dd0d0ec48951 Mon Sep 17 00:00:00 2001 From: krolxon Date: Thu, 16 May 2024 20:25:59 +0530 Subject: [PATCH] remove backspace keymap --- README.md | 2 +- src/event/handler.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e790c43..f6fe5e9 100755 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ rmptui is a minimal tui mpd client made with rust. | `3` | Go to playlists view | | `Enter`/`l`/`Right` | Add song/playlist to current playlist | | `a` | Append the song to current playing queue | -| `Space`/`BackSpace` | Delete the highlighted song from queue | +| `Space` | Delete the highlighted song from queue | | `f` | Go forwards | | `b` | Go backwards | | `>` | Play next song from queue | diff --git a/src/event/handler.rs b/src/event/handler.rs index 3d472a6..5a83c1e 100755 --- a/src/event/handler.rs +++ b/src/event/handler.rs @@ -155,7 +155,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { } // Add or Remove from Current Playlist - KeyCode::Char(' ') | KeyCode::Backspace => { + KeyCode::Char(' ') => { app.handle_add_or_remove_from_current_playlist()?; } _ => {}