diff --git a/nexus/Freqlog/Freqlog.py b/nexus/Freqlog/Freqlog.py index 26ac860..73f51be 100644 --- a/nexus/Freqlog/Freqlog.py +++ b/nexus/Freqlog/Freqlog.py @@ -190,18 +190,18 @@ def _log_and_reset_word(min_length: int = 2) -> None: a for a in dir(vinput.KeyboardModifiers) if not a.startswith('_') and type(getattr(vinput.KeyboardModifiers, a)).__name__ == "CField" ] - no_no_any_modifier_enabled = False + banned_modifier_active = False for attr in attributes_mods: should_check: bool = getattr(self.modifier_keys, attr) if not should_check: continue if getattr(modifiers, attr): - no_no_any_modifier_enabled = True + banned_modifier_active = True break # Add new char to word and update word timing if no modifier keys are pressed - if isinstance(key, str) and key and not no_no_any_modifier_enabled: + if isinstance(key, str) and key and not banned_modifier_active: # I think this is for chords that end in space # If last key was disallowed and timing of this key is more than chord_char_threshold, log+reset if (last_key_was_disallowed and word and word_end_time and