Skip to content

Commit 532ffab

Browse files
authored
Merge pull request #5 from paveldat/notepad
Update main.py
2 parents 56f3c41 + 3e45c53 commit 532ffab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, pos, text, size=[85, 85]):
6767
cv2.putText(img, button.text, (x + 20, y + 65), cv2.FONT_HERSHEY_PLAIN, 4, (255, 255, 255), 4)
6868
if button.text == "<":
6969
finalText = finalText[:-1]
70-
keyboard.press(button.text)
70+
keyboard.press('\010')
7171
else:
7272
finalText += button.text
7373
keyboard.press(button.text)

0 commit comments

Comments
 (0)