code: def wait(hotkey=None, suppress=False, trigger_on_release=False):
      
      if hotkey:
          lock = _Event()
          remove = add_hotkey(hotkey, lambda: lock.set(), suppress=suppress, trigger_on_release=trigger_on_release)
          lock.wait()
          remove_hotkey(remove)
      else:
          while True:
              _time.sleep(1e6)
docs: Blocks the program execution until the given hotkey is pressed or,
      if given no parameters, blocks forever.