mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 13:08:25 +00:00
|
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
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. |
||
|---|---|---|
| .. | ||
| graphics | ||
| loop | ||
| readline | ||
| sgr | ||
| shell_integration | ||
| shortcuts | ||
| subseq | ||
| dcs_to_kitty.go | ||
| download_with_progress.go | ||
| hold.go | ||
| mouse.go | ||
| password.go | ||
| progress-bar.go | ||
| progress-bar_test.go | ||
| render_lines.go | ||
| run.go | ||
| spinners.go | ||
| tmux.go | ||
| ui_kitten.go | ||