Skip to content

Commit

Permalink
Keys are not equal when they have different codes and no value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrevar committed Dec 14, 2023
1 parent 9518898 commit 346eede
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions keymap.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ specify a key-code binding."
(and (or (and (not (zerop (key-code key1)))
(= (key-code key1)
(key-code key2)))
(string= (key-value key1)
(key-value key2)))
(and
(not (uiop:emptyp (key-value key1)))
(string= (key-value key1)
(key-value key2))))
(fset:equal? (key-modifiers key1)
(key-modifiers key2))
(eq (key-status key1)
Expand Down

0 comments on commit 346eede

Please sign in to comment.