remove backspace keymap

This commit is contained in:
krolxon 2024-05-16 20:25:59 +05:30
parent c51d9cc12e
commit 1da0b85fa9
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ rmptui is a minimal tui mpd client made with rust.
| `3` | Go to playlists view | | `3` | Go to playlists view |
| `Enter`/`l`/`Right` | Add song/playlist to current playlist | | `Enter`/`l`/`Right` | Add song/playlist to current playlist |
| `a` | Append the song to current playing queue | | `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 | | `f` | Go forwards |
| `b` | Go backwards | | `b` | Go backwards |
| `>` | Play next song from queue | | `>` | Play next song from queue |

View File

@ -155,7 +155,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> {
} }
// Add or Remove from Current Playlist // Add or Remove from Current Playlist
KeyCode::Char(' ') | KeyCode::Backspace => { KeyCode::Char(' ') => {
app.handle_add_or_remove_from_current_playlist()?; app.handle_add_or_remove_from_current_playlist()?;
} }
_ => {} _ => {}