From ebfdf8f0c349686fda78c222cd727beacf24f4be Mon Sep 17 00:00:00 2001 From: log Date: Tue, 29 Nov 2022 13:12:53 +0100 Subject: [PATCH] tab --- .ipynb_checkpoints/define-this-checkpoint.py | 4 ++-- define-this.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ipynb_checkpoints/define-this-checkpoint.py b/.ipynb_checkpoints/define-this-checkpoint.py index c77cb58..8cec660 100644 --- a/.ipynb_checkpoints/define-this-checkpoint.py +++ b/.ipynb_checkpoints/define-this-checkpoint.py @@ -37,7 +37,7 @@ def getInput(): incard = 1 while incard: char = getch.getch() - if char == 9: + if char == KEY_STAB: incard = 0 currentCard+=1 break @@ -54,7 +54,7 @@ def getInputBabel(): incard = 1 while incard: char = getch.getch() - if char == 9: + if char == KEY_STAB: incard = 0 currentCard+=1 break diff --git a/define-this.py b/define-this.py index c77cb58..8cec660 100644 --- a/define-this.py +++ b/define-this.py @@ -37,7 +37,7 @@ def getInput(): incard = 1 while incard: char = getch.getch() - if char == 9: + if char == KEY_STAB: incard = 0 currentCard+=1 break @@ -54,7 +54,7 @@ def getInputBabel(): incard = 1 while incard: char = getch.getch() - if char == 9: + if char == KEY_STAB: incard = 0 currentCard+=1 break