Commit graph

17088 commits

Author SHA1 Message Date
Kovid Goyal
ccefeb05ff
Update changelog 2026-01-26 13:29:44 +05:30
Kovid Goyal
d0249c1e72
Cleanup X11 momentum-scroll
Dont cancel on the synthetic key events x11 generates for scrolling.
Also use correct timestamp for duration and expiry of physical events.
2026-01-26 12:40:42 +05:30
Kovid Goyal
cac2c6d2f9
Momentum scroll config should apply on X11 as well 2026-01-26 11:54:28 +05:30
copilot-swe-agent[bot]
027b73db64
Add momentum scrolling for X11 backend
Fixes #9421
2026-01-26 11:51:57 +05:30
Kovid Goyal
9cef9e90f2
Python min version is tracked in pyproject.toml 2026-01-26 11:50:08 +05:30
Kovid Goyal
a5433b8994
kitten choose-files: Add a new binding of Alt+Enter to modify the name of an existing file when choosing a save file name
Fixes #9387
2026-01-26 11:50:08 +05:30
Kovid Goyal
ada88e063b
choose-files: Fix TAB completion in file prompt not respecting current cwd 2026-01-26 11:50:08 +05:30
Kovid Goyal
c7a81df950
Remove empty key definitions from terminfo
They cause less and bat to choke. Issue has already been fixed in
less, but given those two have problems with it, it might be other
programs do to, so remove them to be safe.

See #9416
2026-01-26 11:50:08 +05:30
dependabot[bot]
f834b13949
Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) and [github.com/klauspost/compress](https://github.com/klauspost/compress).


Updates `github.com/alecthomas/chroma/v2` from 2.22.0 to 2.23.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.22.0...v2.23.0)

Updates `github.com/klauspost/compress` from 1.18.2 to 1.18.3
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](https://github.com/klauspost/compress/compare/v1.18.2...v1.18.3)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-version: 2.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.18.3
  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-26 03:42:15 +00:00
Kovid Goyal
ecd89df580
... 2026-01-26 09:08:27 +05:30
Kovid Goyal
10273d5aa2
kitten @: Fix relative paths for --password-file being resolved relative to CWD instead of the kitty config directory 2026-01-25 20:30:11 +05:30
Kovid Goyal
dadd2b88de
DRYer 2026-01-24 14:57:48 +05:30
Kovid Goyal
9ac0f5b615
Forgot to increment expecting index 2026-01-24 14:55:25 +05:30
Kovid Goyal
85d813eeed
num_items should be decreased even for pending 2026-01-24 14:47:08 +05:30
Kovid Goyal
ff33180f11
... 2026-01-24 14:46:25 +05:30
Kovid Goyal
be0dd00606
icat kitten: When catting multiple images display the images in input order
Fixes #9413
2026-01-24 14:16:54 +05:30
Kovid Goyal
19d632f3fc
Merge branch 'fix-page-scroll' of https://github.com/rivenirvana/kitty 2026-01-23 22:49:22 +05:30
Arvin Verain
8c3e59d87a
fix: Revert changes to page scrolling 2026-01-24 01:01:14 +08:00
Kovid Goyal
ae36822837
Ignore a bunch of CVes in python that havent actually had their fixes released yet. 2026-01-23 19:07:02 +05:30
Kovid Goyal
aa1267486d
Only reset hyperlink if starting a new line 2026-01-23 10:20:16 +05:30
Kovid Goyal
a214097b55
Close hyperlinks more eagerly when serializing to ANSI
Fixes #9405
2026-01-23 10:11:26 +05:30
Kovid Goyal
6f268bc04b
Merge branch 'reduce-checks' of https://github.com/rivenirvana/kitty 2026-01-23 09:27:36 +05:30
Kovid Goyal
dbcd31f22e
... 2026-01-22 13:13:32 +05:30
Kovid Goyal
75ce50400e
Remote control: scroll-window: Allow fractional scrolling since we now have pixel scroll 2026-01-22 13:05:22 +05:30
Kovid Goyal
82d3364e4a
Fix incorrect row being detected under mouse when pixel scroll is non-zero 2026-01-22 12:10:36 +05:30
Kovid Goyal
391b9c9c80
Merge branch 'update-symbol-map' of https://github.com/rivenirvana/kitty 2026-01-22 09:47:23 +05:30
Kovid Goyal
977bf53e2d
Merge branch 'docs-nits' of https://github.com/rivenirvana/kitty 2026-01-22 09:46:52 +05:30
Arvin Verain
6ae68b793c
fix: Remove unneeded checks 2026-01-22 08:47:59 +08:00
Arvin Verain
c573050909
docs: Update recommended symbol_map for Nerd Fonts 2026-01-22 08:26:13 +08:00
Arvin Verain
2199927cf1
docs: Small nits and fixes
- Fix unsetting var
- Use actual b64 value for 1
- Other small fixes for clarity
2026-01-22 08:19:41 +08:00
Kovid Goyal
8f9d454dd0
Merge branch 'remove-note' of https://github.com/rivenirvana/kitty 2026-01-21 21:54:02 +05:30
Arvin Verain
f68bb678f4
docs: Remove outdated note
cd72f2d9cf
2026-01-22 00:13:41 +08:00
Kovid Goyal
0901f9a9af
Merge branch 'fix_typo' of https://github.com/abeldekat/kittyfork 2026-01-21 15:25:46 +05:30
abeldekat
019cc1cafb Fix typo 2026-01-21 10:48:17 +01:00
Kovid Goyal
f6aedde7c2
Fix desktop-ui kitten configuration docs not shown 2026-01-21 10:24:23 +05:30
Kovid Goyal
6942fca736
Merge branch 'master' of https://github.com/maxdexh/kitty 2026-01-20 21:46:02 +05:30
Max Dexheimer
4e4d85bc59 Fix shell.nix 2026-01-20 17:09:01 +01:00
Kovid Goyal
a88cb2d14d
Fix horizontal alignment of emoji incorrect becase rendered_width was not being set after switching to using cairo to render them
Fixes #9395
2026-01-20 20:01:20 +05:30
Kovid Goyal
a53d5b2fae
Update changelog
Fixes #3732
2026-01-20 17:26:31 +05:30
Kovid Goyal
fccb06e4bf
Merge branch 'dictation' of https://github.com/smorand/kitty 2026-01-20 17:24:58 +05:30
Sébastien MORAND
0bf307c95f
macOS: Implement dictation support via accessibility and NSTextInputClient
This commit enables macOS dictation (triggered by pressing Fn twice) to work
in kitty by implementing the necessary accessibility methods.

The key fix is changing `selectedRange` to return `NSMakeRange(0, 0)` instead
of `kEmptyRange` (NSNotFound, 0). When selectedRange returns NSNotFound, macOS
dictation cannot determine where to insert text and fails silently.

Additional accessibility methods implemented:
- accessibilitySelectedTextRange: Returns cursor position for dictation
- accessibilityNumberOfCharacters: Returns 0 (terminal has no fixed buffer)
- accessibilityInsertionPointLineNumber: Returns 0
- accessibilityValue: Returns empty string
- setAccessibilityValue: Routes dictated text to keyboard input

This fix is inspired by the similar fix in Emacs v30 which restored dictation
by implementing selectedRange properly after migrating to NSTextInputClient.

Fixes: https://github.com/kovidgoyal/kitty/issues/3732
2026-01-20 10:35:54 +01:00
Kovid Goyal
60cee4d9a9
Merge branch 'dependabot/go_modules/all-go-deps-ade57708e7' of https://github.com/kovidgoyal/kitty 2026-01-19 09:53:08 +05:30
dependabot[bot]
10c6b26cda
Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) and [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar).


Updates `github.com/alecthomas/chroma/v2` from 2.21.1 to 2.22.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.21.1...v2.22.0)

Updates `github.com/bmatcuk/doublestar/v4` from 4.9.1 to 4.9.2
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.9.1...v4.9.2)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-version: 2.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: github.com/bmatcuk/doublestar/v4
  dependency-version: 4.9.2
  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-19 04:01:30 +00:00
Kovid Goyal
1ae6bd5c44
Merge branch 'fix-config-typo' of https://github.com/amitp970/kitty 2026-01-18 15:32:24 +05:30
Amit Peri
799452dd2e Fix typo 2026-01-18 09:49:41 +00:00
Kovid Goyal
e342f5ffab
Ignore inapplicable CVE in python stdlib 2026-01-16 19:13:16 +05:30
Kovid Goyal
0d0ee5474d
Cleanup previous PR 2026-01-15 19:26:27 +05:30
copilot-swe-agent[bot]
6436cda482
Add is_finger_based field to XIScrollDevice with detection logic
Fixes #9385
2026-01-15 19:18:27 +05:30
Kovid Goyal
9ef934cf54
Wayland: Remove usage of the Wayland color management protocol to inform compositors of the color space used by kitty
As is typical with Wayland, the protocol is poorly designed and
implemented even worse. Hyprland 0.53 has completely broken color
management.
https://github.com/hyprwm/Hyprland/discussions/12788
In addition it and mangowc crash when using color management with nouveau drivers.
https://github.com/kovidgoyal/kitty/issues/9030

KDE kwin does not support the sRGB transfer function. And the geniuses
at Wayland are any way planning to deprecate sRGB as a transfer function.

Only GNOME mutter seems to get it right.

Then there are people that are likely going to shoehorn this into EGL
instead of leaving it under application control via the protocol anyway.
https://github.com/KhronosGroup/EGL-Registry/issues/197

Sigh. Wayland.
2026-01-15 09:53:09 +05:30
Kovid Goyal
d35c786358
Bump imaging to fix #9376 2026-01-15 09:13:02 +05:30