kitty/tools/tui/loop
Kovid Goyal 2d3ff7b240
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
Support detailed wheel events in the kittens framework
Kittens can opt in with Loop.DetailedWheelEvents(), after which scroll
events arrive as MOUSE_WHEEL mouse events whose Wheel field has the
deltas, unit, multiplier, source, phase and momentum/inverted flags.
WheelEvent.Lines() converts the deltas to lines using the terminal's
multiplier when available.

The mouse-demo kitten uses this to move a block drawn with the graphics
protocol up and down with pixel precision, falling back to wheel button
presses in terminals without support, and shows the event details.
2026-11-16 13:43:41 +05:30
..
api.go Support detailed wheel events in the kittens framework 2026-11-16 13:43:41 +05:30
capabilities.go Handle color scheme changes in choose-files kitten 2025-07-20 13:43:59 +05:30
key-encoding.go ... 2026-04-16 19:24:21 +05:30
key-encoding_test.go Refactor ShortcutTracker.Match() to respect AllowFallback priority order 2026-03-26 04:31:37 +00:00
mouse.go Support detailed wheel events in the kittens framework 2026-11-16 13:43:41 +05:30
mouse_test.go Support detailed wheel events in the kittens framework 2026-11-16 13:43:41 +05:30
read.go Dont leak the reader goroutine in roundtrip_to_terminal 2026-10-08 12:00:20 -04:00
run.go Cleanup previous PR 2026-10-09 18:37:48 +05:30
run_test.go Cleanup previous PR 2026-10-09 18:37:48 +05:30
terminal-state.go Support detailed wheel events in the kittens framework 2026-11-16 13:43:41 +05:30
timers.go Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
write.go Fix #10634 2026-10-09 13:53:34 +05:30