diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 07:57:28 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | 1533644884c5cd2b072f78e3a42d5c4fa52f793a (patch) | |
| tree | ba1a5a92af567fb82b7d667a4152c0b3b71dd973 /src/vector/Cpu.zig | |
| parent | f37732448a2a374281c9610d05a10315e97dcbbf (diff) | |
| download | sketchbook-1533644884c5cd2b072f78e3a42d5c4fa52f793a.tar.gz sketchbook-1533644884c5cd2b072f78e3a42d5c4fa52f793a.zip | |
script: a key carries the modifiers `hold` has down, as a window's does
A window's key event carries the modifiers held as it happened in its
`value` (Host.zig, `modifiers(event.key.mod)`), and a sketch reads
chords from there (examples/live: Alt-o, helix's node walk). A script's
`key` (and a 9P ctl's `input key`) left `value` 0, so `hold left_alt`
then `key o` was a plain o to the sketch: the chord could not be
scripted. `key` now carries what `hold` has down, as `click` and the
other pointer verbs already did in their `flags`.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/vector/Cpu.zig')
0 files changed, 0 insertions, 0 deletions
