Commit Graph

17823 Commits

Author SHA1 Message Date
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 v0.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
copilot-swe-agent[bot]
4706243380 Fix GLFW drop API to always present full original MIME type list to callbacks
Fixes #9633
2026-03-10 20:10:44 +05:30
Kovid Goyal
06b074d68d Update changelog 2026-03-09 15:29:39 +05:30
copilot-swe-agent[bot]
551acca0e4 Implement maximize layout action for splits layout
Fixes #9629
Fixes #9630
2026-03-09 15:27:54 +05:30
Kovid Goyal
26cf36dd40 Merge branch 'dependabot/go_modules/all-go-deps-cfe3a84323' of https://github.com/kovidgoyal/kitty 2026-03-09 10:41:52 +05:30
dependabot[bot]
6d4ee1aa1d 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.26.1 to 4.26.2
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v4.26.1...v4.26.2)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
  dependency-version: 4.26.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-03-09 03:43:19 +00:00
Kovid Goyal
5722acad4f remote_control_script: resolve relative paths with respect to kitty config directory
Fixes #9625
2026-03-09 08:35:28 +05:30
mcrmck
2622a8c6fb Fix mypy error: rename loop variable to avoid conflict with walrus assignment 2026-03-08 21:16:52 -04:00
mcrmck
59c963c481 Add draggable window title bars
Implements drag-to-reorder for window title bars, following up on the
merged window title bar feature (#9450) and the design discussion in #9619.

- Drag a title bar and drop on another title bar to swap positions
- Drop on a window body quadrant (left/right/top/bottom) to insert as
  a directional split; Splits layout uses insert_window_next_to(), other
  layouts fall back to move_window_to_group()
- Drop on a tab bar tab to move the window into that tab
- Drop on another OS window to move into its active tab
- Drop outside kitty to detach into a new OS window
- Tab bar highlights the hovered tab during a window drag, mirroring
  how the destination window title bar is highlighted
- toggle_window_title_bars action temporarily force-shows title bars
  for drag-to-reorder when they are normally hidden, auto-hiding after
  the drag completes
- window_title_bar_drag_threshold option (default 5px) controls how far
  the mouse must move before a drag is initiated; 0 disables dragging

MIME type follows the same convention as tab dragging:
application/net.kovidgoyal.kitty-window-{PID}

Ref: #9619
2026-03-08 20:56:38 -04:00
Kovid Goyal
db5453c291 Fix #9624 2026-03-08 20:11:30 +05:30
Kovid Goyal
8cd82698a6 Merge branch 'fix-title-bar-segfault' of https://github.com/mcrmck/kitty 2026-03-08 08:41:31 +05:30
mcrmck
5534c5cba8 Fix segfault when dragging tab to detach with window title bars enabled 2026-03-07 14:18:55 -05:00
Kovid Goyal
0a52972f52 Fix #9618. Fix #9617 2026-03-07 17:21:21 +05:30
Kovid Goyal
2153388750 Need to install meson on macOS 2026-03-07 09:33:39 +05:30
Kovid Goyal
7d0c7ce4f5 Bump version of Python used in binary builds 2026-03-07 09:24:14 +05:30
Kovid Goyal
c75bdc7620 Bump Go version for security vulnerabilities
Unfortunately means have to bump minimum macos version as well as Go
requires it.
2026-03-07 08:05:37 +05:30
Kovid Goyal
1106ee8d10 Ignore CVE that's not an actual issue 2026-03-06 13:46:07 +05:30
copilot-swe-agent[bot]
6b2a8b6a65 Fix new_tab_with_cwd not adding to active session
Fixes #9614
Fixes #9615
2026-03-06 13:41:05 +05:30
Kovid Goyal
68ef054676 Only set currently hovered window when not over title bar or border 2026-03-05 19:59:06 +05:30
Kovid Goyal
6ad4f495d6 Have scroll events when mouse if over titlebar delivered to the window belonging to the titlebar 2026-03-05 17:07:46 +05:30
Kovid Goyal
5599a5c5ca DRYer 2026-03-05 17:03:47 +05:30
Kovid Goyal
ebba5dbe08 Ensure full titlebar line is erased to current background before re-drawing 2026-03-05 17:00:34 +05:30
Kovid Goyal
917616d09b Cleanup previous PR
Press on titlebar should focus window
2026-03-05 16:58:30 +05:30
Kovid Goyal
5e5243a52a Merge branch 'double-click-rename' of https://github.com/mcrmck/kitty 2026-03-05 16:52:05 +05:30
mcrmck
0f256e2724 Double-click window title bar to rename 2026-03-05 01:42:49 -05:00
Kovid Goyal
09e9cbea51 Cleanup previous PR 2026-03-05 11:58:15 +05:30
copilot-swe-agent[bot]
74f817cd36 Add detect_title_bar parameter to mouse_region() to detect window title bars
Fixes #9610
2026-03-05 11:54:58 +05:30
Kovid Goyal
134ca894f8 DRYer 2026-03-05 11:53:03 +05:30