Skip to content

Commit 42c36e4

Browse files
committed
Fix backspace key code handling
1 parent 16b2237 commit 42c36e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Streamline/AutomationEngine/EventHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct EventHandler {
1414

1515
/** Some key codes should reset the currently monitored string: e.g. arrow keys, enter, return */
1616
static let resettingKeyCodes = [123, 124, 125, 126, 76, 36]
17-
static let backspaceKeyCodes = [51, 46]
17+
static let backspaceKeyCodes = [51]
1818

1919
/** All system events to listen for. */
2020
static let eventsToMonitor: NSEvent.EventTypeMask = [.keyDown, .leftMouseDown, .rightMouseDown, .otherMouseDown]

0 commit comments

Comments
 (0)