Skip to content

Commit

Permalink
debugging is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
sammdot committed Sep 27, 2023
1 parent b7905f0 commit e4fce4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions plover/oslayer/osx/keyboardcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ def __init__(self):
super().__init__()
self._layout = KeyboardLayout()

def set_key_press_delay(self, delay_ms):
self._key_press_delay = delay_ms

def send_backspaces(self, count):
for _ in self.with_delay(range(count)):
backspace_down = CGEventCreateKeyboardEvent(
Expand Down
1 change: 1 addition & 0 deletions plover/output/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ def delay(self):

def with_delay(self, iterable):
for item in iterable:
print("aaaa")
yield item
self.delay()

0 comments on commit e4fce4d

Please sign in to comment.