Change stop key to 's' for better compatibility
All checks were successful
Build and Release / build-and-release (push) Successful in 59s
All checks were successful
Build and Release / build-and-release (push) Successful in 59s
- Replace Shift+Space with 's' key for stop functionality - Update status bar shortcuts to reflect the change - Bump version to 0.1.5
This commit is contained in:
@@ -227,8 +227,8 @@ async fn handle_key_event<B: ratatui::backend::Backend>(terminal: &mut Terminal<
|
||||
tracing::info!("Playing: {:?} (playlist: {} tracks)", path, state.playlist.len());
|
||||
}
|
||||
}
|
||||
(KeyCode::Char(' '), KeyModifiers::SHIFT) => {
|
||||
// Shift+Space: Stop playback
|
||||
(KeyCode::Char('s'), _) => {
|
||||
// s: Stop playback
|
||||
state.player_state = PlayerState::Stopped;
|
||||
state.current_position = 0.0;
|
||||
state.current_duration = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user