From 5513f4f032f95cc75924541bf7439654aa95fffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeromos=20Kov=C3=A1cs?= Date: Mon, 21 Oct 2024 20:15:04 +0200 Subject: [PATCH] fix: cosmetics --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index dae226c..e37a056 100644 --- a/src/app.rs +++ b/src/app.rs @@ -153,8 +153,8 @@ impl App { KeyCode::Char('k') | KeyCode::Up => self.faster(false), KeyCode::Char(' ') | KeyCode::Enter => self.play_pause(&mut prev_poll_t), KeyCode::Char('r') => self.restart(), - KeyCode::Char('n') | KeyCode::Char('l') | KeyCode::Right => self.next(), - KeyCode::Char('p') | KeyCode::Char('h') | KeyCode::Left => self.prev(), + KeyCode::Char('n' | 'l') | KeyCode::Right => self.next(), + KeyCode::Char('p' | 'h') | KeyCode::Left => self.prev(), KeyCode::Char('R') | KeyCode::Backspace => *self = Self::default(), _ => {} }