Verified Commit d7e2a460 authored by mathieui's avatar mathieui

Remove an useless input method which was needed with threads

parent f0dac14e
......@@ -69,17 +69,6 @@ class YesNoInput(Win):
if key.lower() in self.key_func:
def prompt(self):
"""Monopolizes the input while waiting for a recognized keypress"""
def cb(key):
if key in self.key_func:
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):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment