Kovid Goyal
ac1d34eb0c
Bump version of harfbuzz for CVE
2026-01-14 10:45:52 +05:30
Kovid Goyal
4cb3a13416
Merge branch 'dependabot/go_modules/all-go-deps-e2678a00b5' of https://github.com/kovidgoyal/kitty
2026-01-13 15:58:22 +05:30
dependabot[bot]
969d46ef4c
Bump golang.org/x/sys from 0.39.0 to 0.40.0 in the all-go-deps group
...
Bumps the all-go-deps group with 1 update: [golang.org/x/sys](https://github.com/golang/sys ).
Updates `golang.org/x/sys` from 0.39.0 to 0.40.0
- [Commits](https://github.com/golang/sys/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all-go-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-12 03:47:16 +00:00
Kovid Goyal
da170555fa
Ignore master pointer device events since we use the slave devices
2026-01-11 12:57:56 +05:30
Kovid Goyal
1efded85bc
Support for old compilers
2026-01-11 11:02:14 +05:30
Kovid Goyal
69a25691c5
X11: Fix mouse motion events not being handled
...
The code to use XI_Motion for scroll events needed to handle motion
events too
2026-01-11 10:44:47 +05:30
Kovid Goyal
8a10931f0e
Download grype from my own server
...
Far higher reliability than githubj;wq
2026-01-10 12:42:09 +05:30
copilot-swe-agent[bot]
bfc21fc7a4
X11: handle XI device hotplugging
...
Fixes #9370
2026-01-10 09:00:37 +05:30
Kovid Goyal
813c560e29
Implement proper scroll event type detection in X11
...
Uses libinput scroll mode property to detect high res devices.
2026-01-10 08:38:45 +05:30
Kovid Goyal
15206eda0b
Add XIGetQuery
2026-01-10 06:17:53 +05:30
Kovid Goyal
f8426d529c
...
2026-01-10 05:51:59 +05:30
Kovid Goyal
a9261fe529
...
2026-01-10 05:21:12 +05:30
Kovid Goyal
21da5350d3
Update changelog
2026-01-09 17:22:26 +05:30
copilot-swe-agent[bot]
c1a54a0cc0
Add XI2 smooth scrolling support for X11 backend
...
Fixes #9369
2026-01-09 17:13:24 +05:30
Kovid Goyal
dd9c61e5f6
...
2026-01-09 14:44:40 +05:30
Kovid Goyal
8fd0909e4a
Invert momentum_scroll
...
Its nicer to have momentum_scroll 0 mean no momentum scrolling
2026-01-09 14:37:36 +05:30
Kovid Goyal
2ab0fcb373
Make Wayland momentum scrolling configurable
2026-01-09 13:46:49 +05:30
Kovid Goyal
1f43a75a07
DRYer
2026-01-09 13:26:44 +05:30
Kovid Goyal
c0add3198b
Use logical pixels for momentum velocity settings
2026-01-09 13:21:04 +05:30
Kovid Goyal
779fb0d5c5
Cancel momentum scroll on button and key events
2026-01-09 13:15:37 +05:30
Kovid Goyal
3232551c39
Revert to using a fixed timer interval
...
Sadly, we cant rely on the Wayland compositor to send us reliably timed
scroll events.
2026-01-09 13:10:16 +05:30
Kovid Goyal
858240e324
Momentum scroller: discard unsuitable physical events
2026-01-09 12:56:05 +05:30
Kovid Goyal
3c250a741d
Wayland: Fix line and v120 scroll event types being multiplied by screen scale
...
This does not match X11/macOS behavior. And I see no logical reason why
it should be so. The wheel_scroll_multiplier should be used to adjust
this by end users.
2026-01-09 12:50:07 +05:30
Kovid Goyal
48de08ded1
Derive timer interval in the momentum scroller from previous scroll events
2026-01-09 10:40:24 +05:30
Kovid Goyal
3637e31ca3
Fix goto_session not respecting the focus_tab session directive when creating a session in an existing OS window
...
Fixes #9366
2026-01-08 20:43:38 +05:30
Kovid Goyal
30ba15e6bc
Fix first history line not being redered during pixel scroll
2026-01-08 20:04:27 +05:30
Kovid Goyal
683b59c876
Rely on compiler to produce 0 or 1 only for boolean expressions
2026-01-08 19:49:40 +05:30
Kovid Goyal
e442890523
More duplicated functions
2026-01-08 19:43:25 +05:30
Kovid Goyal
41bab32a49
Remove duplicated function
2026-01-08 19:34:46 +05:30
Kovid Goyal
3c6050f4c3
Implement pixel scrolling for the scrollbar as well
2026-01-08 19:22:32 +05:30
Kovid Goyal
3d4746ec37
Dont allocate an extra line
...
Need one extra render line for pixel scroll not two
2026-01-08 17:10:18 +05:30
Kovid Goyal
fc28e7c03f
...
2026-01-08 16:50:59 +05:30
Kovid Goyal
d6cb5c367e
Remove warning about multiple cursors protocol being under discussion
...
It is no longer under discussion
2026-01-08 14:51:05 +05:30
Kovid Goyal
abc78f9506
Fix pixel scroll breaking top line selection when top line is partially scrolled off screen
2026-01-08 14:49:01 +05:30
Kovid Goyal
b52a9031ca
Fix selections test failing due to pixel scroll
...
Note this only fixes the test, there is still the actual issue of
the selection not being rendered for the top most line if that line is
partially scrolled offscreen
2026-01-08 12:40:40 +05:30
Kovid Goyal
1de5a9f0c6
Remove un-needed if statements
2026-01-08 11:30:35 +05:30
Kovid Goyal
dbef4ddd2e
We dont need blank_line since it's only used to clear GPU data we can just memset the GPU to 0 directly
2026-01-08 11:23:26 +05:30
Kovid Goyal
da45f7eeaa
Clenaup previous PR
...
Make pixel scrolling the default. Fix memory leak where blank line was
not being deallocated in Screen destructor.
2026-01-08 11:01:34 +05:30
Kovid Goyal
0168d19e57
Merge branch 'feat/scroll-per-pixel' of https://github.com/idelice/kitty
2026-01-08 09:12:34 +05:30
Kovid Goyal
df17142ea4
Fix #9355
2026-01-06 08:37:24 +05:30
Kovid Goyal
32f7f8d321
Remove unneeded axis event timestamp
2026-01-05 20:13:33 +05:30
Kovid Goyal
e825005861
Remove unused field
2026-01-05 20:08:09 +05:30
Kovid Goyal
e1199bcee2
Initial implementation of momentum for finger based scrolling on Wayland
...
Needs configuration and possibly the parameter adjustment once pixel
scrolling is merged.
2026-01-05 19:52:44 +05:30
Kovid Goyal
cd25248e08
Merge branch 'dependabot/go_modules/all-go-deps-5e103dddb9' of https://github.com/kovidgoyal/kitty
2026-01-05 08:38:26 +05:30
dependabot[bot]
0c6ccd1d2a
Bump github.com/shirou/gopsutil/v4 in the all-go-deps group
...
Bumps the all-go-deps group with 1 update: [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil ).
Updates `github.com/shirou/gopsutil/v4` from 4.25.11 to 4.25.12
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v4.25.11...v4.25.12 )
---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
dependency-version: 4.25.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all-go-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-05 03:04:59 +00:00
Kovid Goyal
a88b15e066
While here, might as well add blink capability to terminfo as well
...
This was implemented in version 0.43.0
2026-01-03 00:41:54 +05:30
Kovid Goyal
e11e1ba929
...
2026-01-03 00:35:12 +05:30
Kovid Goyal
388388381d
ncurses is even worse than I thought it was
2026-01-03 00:32:43 +05:30
Kovid Goyal
ba389d68b9
macOS: Fix changes to macos_titlebar_color while in full screen not being applied after exiting fullscreen
...
Fixes #9350
2026-01-03 00:19:03 +05:30
Kovid Goyal
24b634ae1a
Nicer 403 error andling when downloading grype
2026-01-02 11:35:28 +05:30