Krolyxon
Commit 1cd2b03

rmptui1cd2b03

remove backspace keymap

Author
krolxon
Date
2024-05-16 20:25 +0530
Parent
7e3c4bd
Commit
1cd2b0389ed7678b41f476656471dafa805326be

+2 −2

2 files changed

  1. M README.md +1 −1
  2. M src/event/handler.rs +1 −1
M README.md View
@@ -28,7 +28,7 @@ rmptui is a minimal tui mpd client made with rust.
2828 | `3` | Go to playlists view |
2929 | `Enter`/`l`/`Right` | Add song/playlist to current playlist |
3030 | `a` | Append the song to current playing queue |
31−| `Space`/`BackSpace` | Delete the highlighted song from queue |
31+| `Space` | Delete the highlighted song from queue |
3232 | `f` | Go forwards |
3333 | `b` | Go backwards |
3434 | `>` | Play next song from queue |
M src/event/handler.rs View
@@ -155,7 +155,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> {
155155 }
156156
157157 // Add or Remove from Current Playlist
158− KeyCode::Char(' ') | KeyCode::Backspace => {
158+ KeyCode::Char(' ') => {
159159 app.handle_add_or_remove_from_current_playlist()?;
160160 }
161161 _ => {}