From 7133dd985a25c4f3d966cd050a3afcf63fd0055c Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 16 Aug 2023 18:53:52 +0200 Subject: [PATCH] videoplayer: allow numpad enter key to end current file playback --- videoplayer/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videoplayer/src/main.rs b/videoplayer/src/main.rs index c681e9c..37eb89d 100644 --- a/videoplayer/src/main.rs +++ b/videoplayer/src/main.rs @@ -488,7 +488,7 @@ impl Player { println!(); return Ok(true); }, - Keycode::Return => return Ok(true), + Keycode::Return | Keycode::KpEnter => return Ok(true), Keycode::Right => { self.seek(10, true, dmx, disp_queue)?; }, Keycode::Left => { self.seek(10, false, dmx, disp_queue)?; }, Keycode::Up => { self.seek(60, true, dmx, disp_queue)?; }, -- 2.39.5