From: Kostya Shishkov Date: Wed, 16 Aug 2023 16:53:52 +0000 (+0200) Subject: videoplayer: allow numpad enter key to end current file playback X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=7133dd985a25c4f3d966cd050a3afcf63fd0055c;p=nihav-player.git videoplayer: allow numpad enter key to end current file playback --- 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)?; },