fix: Include Z and 0 in CapsWords ranges
Before, the allowed alphabet of characters for CapsWords was exclusive of the letter Z, and the allowed number set was exclusive of the number 0. Now, those characters are included, so using them won't interrupt CapsWords.
This commit is contained in:
parent
d51f0c4498
commit
afd4982925
@ -6,8 +6,8 @@ class CapsWord(Module):
|
||||
# default timeout is 8000
|
||||
# alphabets, numbers and few more keys will not disable capsword
|
||||
def __init__(self, timeout=8000):
|
||||
self._alphabets = range(KC.A.code, KC.Z.code)
|
||||
self._numbers = range(KC.N1.code, KC.N0.code)
|
||||
self._alphabets = range(KC.A.code, KC.Z.code + 1)
|
||||
self._numbers = range(KC.N1.code, KC.N0.code + 1)
|
||||
self.keys_ignored = [
|
||||
KC.MINS,
|
||||
KC.BSPC,
|
||||
|
Loading…
Reference in New Issue
Block a user