From: Stefano Rivera Date: Tue, 13 May 2014 17:55:54 +0000 (+0200) Subject: And ASDF too X-Git-Tag: 0.1~333 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=87dd36b4c811e3afd2da840038c329241ff1bbbe;p=naja.git And ASDF too --- 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