From e4f3cb023becf5310e46f2c22722466e9e8ace7b Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 31 Jan 2021 17:37:43 -0500 Subject: [PATCH] Fix backwards arrow keys No, the other left! --- lightcards/display.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightcards/display.py b/lightcards/display.py index 5257c47..4599491 100755 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -205,11 +205,11 @@ class Display(): key = self.win.getkey() if key == "q": sys.exit(0) - elif key in ["l", "KEY_LEFT"]: + elif key in ["l", "KEY_RIGHT"]: self.obj.forward(self.stack) self.obj.setSide(0) self.disp_card() - elif key in ["h", "KEY_RIGHT"]: + elif key in ["h", "KEY_LEFT"]: self.obj.back() self.obj.setSide(0) self.disp_card() -- 2.39.2