summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-12-19 22:06:11 +0100
committermathieui <mathieui@mathieui.net>2014-12-19 22:06:11 +0100
commitd7e2a460701b6e7b76cfc4e753899e286c7960b4 (patch)
tree418ae5f0430d5aa01ccef785b73cfb891c792eb4 /src
parentf0dac14e32b7c087e20aad69cc10d3fb94a9d69b (diff)
downloadpoezio-d7e2a460701b6e7b76cfc4e753899e286c7960b4.tar.gz
poezio-d7e2a460701b6e7b76cfc4e753899e286c7960b4.tar.bz2
poezio-d7e2a460701b6e7b76cfc4e753899e286c7960b4.tar.xz
poezio-d7e2a460701b6e7b76cfc4e753899e286c7960b4.zip
Remove an useless input method which was needed with threads
Diffstat (limited to 'src')
-rw-r--r--src/windows/input_placeholders.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/windows/input_placeholders.py b/src/windows/input_placeholders.py
index 8bcf1524..4a6c6d72 100644
--- a/src/windows/input_placeholders.py
+++ b/src/windows/input_placeholders.py
@@ -69,17 +69,6 @@ class YesNoInput(Win):
if key.lower() in self.key_func:
self.key_func[key]()
- def prompt(self):
- """Monopolizes the input while waiting for a recognized keypress"""
- def cb(key):
- if key in self.key_func:
- self.key_func[key]()
- if self.value is None:
- # We didn’t finish with this prompt, continue monopolizing
- # it again until value is set
- keyboard.continuation_keys_callback = cb
- keyboard.continuation_keys_callback = cb
-
def on_delete(self):
return