clickmate 0.1.1rc3__tar.gz → 0.1.2.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: clickmate
3
- Version: 0.1.1rc3
3
+ Version: 0.1.2.dev0
4
4
  Summary: Add your description here
5
5
  Keywords: autoclicker,clickmate,automation,macos,quartz,mouse,cli
6
6
  Author: ivand890
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "clickmate"
3
- version = "0.1.1-rc3"
3
+ version = "0.1.2-dev"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -4,4 +4,4 @@ Exports the CLI entrypoint via ``autoclicker.cli:main``.
4
4
  """
5
5
 
6
6
  __all__ = ["__version__"]
7
- __version__ = "0.1.1-rc3"
7
+ __version__ = "0.1.2-dev"
@@ -402,7 +402,11 @@ def on_press(key):
402
402
  if any(_is_ctrl(k) for k in _pressed_keys) and any(
403
403
  _is_alt(k) for k in _pressed_keys
404
404
  ):
405
- if getattr(key, "char", None) == "k": # final key in combo
405
+ # On Windows, Ctrl+K often results in '\x0b' (ASCII 11)
406
+ # And Ctrl+Alt+K might result in vk=75 with char=None
407
+ char = getattr(key, "char", None)
408
+ vk = getattr(key, "vk", None)
409
+ if char in ("k", "\x0b") or vk == 75:
406
410
  global_toggle_keys()
407
411
  return
408
412
  except Exception:
File without changes
File without changes