From 87dd36b4c811e3afd2da840038c329241ff1bbbe Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 13 May 2014 19:55:54 +0200 Subject: [PATCH] And ASDF too --- naja/widgets/selector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/naja/widgets/selector.py b/naja/widgets/selector.py index 9b7b523..5047cf8 100644 --- a/naja/widgets/selector.py +++ b/naja/widgets/selector.py @@ -22,8 +22,8 @@ class SelectorWidget(Container): def handle_event(self, ev): if ev.type == pgl.KEYDOWN: - if ev.key in (pgl.K_DOWN, pgl.K_UP): - if ev.key == pgl.K_DOWN: + if ev.key in (pgl.K_DOWN, pgl.K_UP, pgl.K_s, pgl.K_w): + if ev.key in (pgl.K_DOWN, pgl.K_s): self.position += 1 else: self.position -= 1 -- 2.34.1