remove disallowed characters from alphabet
This commit is contained in:
parent
d646201427
commit
d64b37c58b
|
@ -95,7 +95,9 @@ class Fingers::Commands::LoadConfig < Fingers::Commands::Base
|
||||||
*user_defined_patterns,
|
*user_defined_patterns,
|
||||||
])
|
])
|
||||||
|
|
||||||
config.alphabet = ALPHABET_MAP[Fingers.config.keyboard_layout].split("")
|
config.alphabet = ALPHABET_MAP[Fingers.config.keyboard_layout].split("").reject do |char|
|
||||||
|
char.match(DISALLOWED_CHARS)
|
||||||
|
end
|
||||||
config.save
|
config.save
|
||||||
|
|
||||||
Fingers.reset_config
|
Fingers.reset_config
|
||||||
|
|
Loading…
Reference in New Issue