Commit graph

17448 commits

Author SHA1 Message Date
Kovid Goyal
40f9945ea7
version 0.46.1 2026-03-16 13:20:03 +05:30
Kovid Goyal
f4d4a80ca3
Merge branch 'dependabot/go_modules/all-go-deps-48d5999cd7' of https://github.com/kovidgoyal/kitty 2026-03-16 09:19:20 +05:30
Kovid Goyal
0c90b66f91
... 2026-03-16 09:18:50 +05:30
dependabot[bot]
1f2149eb6f
Bump golang.org/x/sys from 0.41.0 to 0.42.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.41.0 to 0.42.0
- [Commits](https://github.com/golang/sys/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.42.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-03-16 03:43:04 +00:00
Kovid Goyal
ddfd8d7f45
Wayland: Dont set window icons on layer shell windows as some compositors complain about them 2026-03-16 08:28:36 +05:30
copilot-swe-agent[bot]
66ffb6895c
Fix macOS keyboard focus not restored when switching back from another space
Fixes #9665
Fixes #9666
2026-03-15 14:57:46 +05:30
Kovid Goyal
b3b7d0596d
Dont use neighboring tab colors for tab bar margins on translucent OS windows
The colors are rendered semi-transparent which effectively means they blend
with background unlike the neighboring colors and end up not matching
2026-03-15 09:22:43 +05:30
copilot-swe-agent[bot]
b93f1badd1
Fix tab bar border artifacts with background_opacity on non-cell-aligned windows
Fixes #9663: visible gray/black bars appear at the left and right
sides of the tab bar when background_opacity is set and the window width
is not a multiple of the cell width.

Three fixes in update_blank_rects:

1. Fix off-by-one: use g.right instead of g.right-1 for the right blank
   rect start position. The old code caused a 1-pixel overlap with tab
   content and spuriously added a right blank rect even for
   perfectly-aligned windows.

2. Fix blank rect colors: only use tab_bar_left/right_edge_color when
   tab_bar_margin_width > 0 (explicit configured margin). When
   margin_width=0 (default), use default_bg which blends with the window
   background instead of showing a solid tab-colored bar.

3. Fix inner margin BOTTOM_EDGE height: use tab_bar.top instead of vh
   so the inner margin blank rect covers only the inner margin area.

Fixes #9664

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-03-15 09:00:41 +05:30
Kovid Goyal
30756bb819
Cleanup previous PR 2026-03-15 08:38:59 +05:30
Kovid Goyal
d244a697bf
Merge branch 'dictation_fix' of https://github.com/alexeyshurygin/kitty 2026-03-15 08:34:46 +05:30
Alexey Shurygin
827c8dd614 Address PR review feedback 2026-03-15 01:33:38 +03:00
Alexey Shurygin
b66c6c4932 Fix: Dictation does not start on double Fn key press on Mac OS 2026-03-15 01:15:05 +03:00
Kovid Goyal
e72f49952d
Linux: Fix regression that broke drag and drop from GTK applications
Fixes #9656
2026-03-13 20:19:33 +05:30
copilot-swe-agent[bot]
a97f468a02
Add remove_duplicate_mimes() and call it from update_allowed_mimes_for_drop()
Fixes #9657
2026-03-13 20:01:43 +05:30
Kovid Goyal
c332211997
Possible fix for #9656 2026-03-13 19:16:44 +05:30
Kovid Goyal
98931d99b0
Wayland: Fix momentum scrolling not working on compositors that send a stop frame with no axis information
Fixes #9653
2026-03-13 08:47:45 +05:30
Kovid Goyal
5585b773bf
Merge branch 'master' of https://github.com/1024th/kitty 2026-03-13 08:23:39 +05:30
1024th
ffe8cef1a8 Fix font detection command on linux in setup.py 2026-03-13 01:03:20 +08:00
Kovid Goyal
c0b549fee8
Make XI2 scroll offset type detection more robust
Since we have to use heuristics, lets at least collect stats for a few
events before deciding.
2026-03-12 21:44:20 +05:30
Kovid Goyal
99639f1373
XInput2: Assume any fractional scroll value means the device is high res
Because as far as I can tell there is no reliable way to detect high res
scroll devices under XWayland. Sigh.
2026-03-12 20:32:15 +05:30
Kovid Goyal
5ba3d10471
X11: Fix a regression that caused some high res scroll devices to be treated as line based scroll devices
Apparently when running under XWayland, we cant rely on libinput to
detect highres scroll devices. Sigh. Linux input is such a disaster.
Dunno if this will break something else, hopefully not.

Fixes #9649
2026-03-12 19:23:41 +05:30
Kovid Goyal
39683e0c34
... 2026-03-12 18:33:52 +05:30
Kovid Goyal
2c395a1ef9
Fix #9650 2026-03-12 18:03:53 +05:30
Kovid Goyal
01a70e06c4
... 2026-03-12 13:53:41 +05:30
Kovid Goyal
0614f05335
Use new SIMD function for non blank checking 2026-03-12 13:50:35 +05:30
Kovid Goyal
7b9b8834a8
... 2026-03-12 13:48:20 +05:30
copilot-swe-agent[bot]
f4bf9cf1c9
Add not_index_byte and not_index_byte2 functions to simdstring package
Fixes #9646
2026-03-12 13:47:05 +05:30
Kovid Goyal
d8af7e2c88
Add an option to control highlighting of moved lines 2026-03-12 12:59:46 +05:30
copilot-swe-agent[bot]
f45345c7a7
Add colorMoved support to kitty diff kitten
Fixes #3241
Fixes #9644
2026-03-12 12:44:21 +05:30
Kovid Goyal
c78592174d
... 2026-03-12 12:23:58 +05:30
Kovid Goyal
3f16aab664
Merge branch 'patch-1' of https://github.com/ChangMarkusYu/kitty 2026-03-12 12:23:34 +05:30
Chang Yu
9f45daf300
Fix bookorat link in integrations.rst 2026-03-11 22:26:17 -07:00
Kovid Goyal
a0709acdde
DRYer 2026-03-12 10:06:20 +05:30
Kovid Goyal
b9d7a661ce
Dont import ctypes unless type checking
ctypes in Python 3.14 is broken on Intel macs. It uses libffi which is
broken on Intel macs without extra security entitlements. At least
com.apple.security.cs.allow-unsigned-executable-memory and possibly
com.apple.security.cs.disable-executable-page-protection

Rather than add these entitlements, we simply do not import ctypes as it
is not actually used on macs anyway.

Fixes #9643
2026-03-12 09:58:49 +05:30
Kovid Goyal
c2447abd30
Update changelog 2026-03-12 09:22:02 +05:30
Kovid Goyal
36810862ed
Update changelog 2026-03-12 08:57:57 +05:30
Kovid Goyal
01104bac65
Fix a regression that broke `kitten update-self`
Fixes #9642
2026-03-12 08:33:20 +05:30
Kovid Goyal
99ff621b21
Merge branch 'fix/clear-dock-badge-on-interaction' of https://github.com/pietervdheijden/kitty 2026-03-12 08:14:19 +05:30
Kovid Goyal
633d833907
Merge branch 'fix-paste' of https://github.com/waresnew/kitty 2026-03-12 08:04:05 +05:30
Pieter van der Heijden
e9de88221f
Clear macOS dock badge on keypress and mouse click
The dock badge set by macos_dock_badge_on_bell is currently only
cleared when the app transitions from inactive to active via
NSApplicationDidBecomeActiveNotification. This means if a bell
occurs while kitty is already the active app (e.g. in a background
tmux pane or non-focused kitty tab), the badge persists until the
user switches away and back.

Clear the badge on any user interaction (keypress or mouse click)
so it is dismissed as soon as the user engages with kitty, regardless
of whether kitty was already active.
2026-03-11 21:41:06 +01:00
newwares
50a69cb093 Fix outdated check in paste confirmation 2026-03-11 16:37:48 -04:00
Kovid Goyal
a1e02c8858
... 2026-03-11 21:24:49 +05:30
Kovid Goyal
e64fbe145e
... 2026-03-11 21:24:24 +05:30
Kovid Goyal
121eec48b5
Make the changelog link to options rather than PRs 2026-03-11 21:21:33 +05:30
Kovid Goyal
9aa938c6cd
Make the error message a bit more clear 2026-03-11 21:13:24 +05:30
Kovid Goyal
4ad6d30ab8
Add command palette shortcut to changelog 2026-03-11 21:03:57 +05:30
Kovid Goyal
74f532bd07
Update major changes 2026-03-11 08:53:58 +05:30
Kovid Goyal
0b2f081d40
version 0.46.0 2026-03-11 08:26:12 +05:30
Kovid Goyal
fa2d7a789e
Mention the command palette in the overview docs 2026-03-11 08:24:42 +05:30
Kovid Goyal
03376dc704
Fix drops being sent to invisbile windows in stack layout 2026-03-10 20:30:45 +05:30