Commit Graph

17501 Commits

Author SHA1 Message Date
Kovid Goyal
522aa7805b DRYer 2026-03-01 10:42:07 +05:30
Kovid Goyal
08d84aa211 Fix #9571 2026-03-01 10:38:23 +05:30
Kovid Goyal
04c35d85da Merge branch 'fix-accessibility-window-management' of https://github.com/alexasa79/kitty 2026-03-01 10:26:20 +05:30
Sasha Sandler
2c89a7dedf Allow accessibility selectors needed for external window management tools
Tools like Easy Move+Resize use the macOS Accessibility API to find and
move/resize windows. They call AXUIElementCopyElementAtPosition to get the
content view, then use kAXWindowAttribute to navigate to the parent window.

The isAccessibilitySelectorAllowed: whitelist was blocking these selectors,
preventing external window management tools (Easy Move+Resize) from working with
kitty.

Fixes #5561
2026-02-28 22:22:38 -05:00
Andrey Paramonov
21c2e585cf Refactor fullscreen exit handling to ensure frame constraint suppression is lifted consistently after a delay 2026-02-28 20:21:59 +03:00
Andrey Paramonov
72de57b5e5 Enhance fullscreen transition handling on macOS by adding frame constraint suppression 2026-02-28 19:59:43 +03:00
Andrey Paramonov
6d33cea816 Fix fullscreen handling for macOS Split View to prevent crashes 2026-02-28 17:56:19 +03:00
Kovid Goyal
7500c58e1c Fix #9569 2026-02-28 16:54:02 +05:30
Kovid Goyal
2d1d340d41 Work on drag resize for splits layout 2026-02-28 07:37:49 +05:30
Kovid Goyal
c09f0c07a6 Make border detection more rigorous 2026-02-28 06:08:50 +05:30
copilot-swe-agent[bot]
8eb0e35b63 Use closest border when detecting window borders
Fixes #9564
2026-02-27 13:50:11 +05:30
Kovid Goyal
ea11959c7f Do not spam child processes with resize notifications while a drag resize is in progress
Avoids prompt corruption because of shells doing rapid redraws
2026-02-27 09:20:39 +05:30
Kovid Goyal
f94051e752 Be a little more defensive 2026-02-27 08:26:33 +05:30
copilot-swe-agent[bot]
0ad9a15491 Implement drag resize target selection for splits layout
Fixes #9563
2026-02-26 21:57:43 +05:30
Kovid Goyal
09fcb7cef0 Implement resizing semantics based on layout
Still need to do splits layout but all others should be OK
2026-02-26 20:55:43 +05:30
Kovid Goyal
5e845a49a0 ... 2026-02-26 20:20:33 +05:30
Kovid Goyal
131a6ba8c6 Use the correct resize pointer shape on corners 2026-02-26 19:43:24 +05:30
Kovid Goyal
1a185e7027 ... 2026-02-26 19:11:00 +05:30
Kovid Goyal
32d8ebfbb3 Add an option to control dragging to resize windows 2026-02-26 19:07:47 +05:30
Kovid Goyal
ccc0ce5ceb Do drag resize by dragging window borders 2026-02-26 17:36:41 +05:30
Kovid Goyal
852db16fc9 Cleanup mouse.c 2026-02-26 14:53:10 +05:30
Kovid Goyal
609f6ed960 Cleanup tracking of drag resize in Boss 2026-02-26 14:17:26 +05:30
Kovid Goyal
69caa7be11 Merge branch 'mouse-drag-resize' of https://github.com/mcrmck/kitty 2026-02-26 13:53:31 +05:30
Kovid Goyal
492449608f Fix #9558 2026-02-26 09:11:28 +05:30
Kovid Goyal
d56958f61a Cleanup previous PR 2026-02-25 19:40:38 +05:30
Kovid Goyal
3108c0bc81 Merge branch 'master' of https://github.com/theAnuragMishra/kitty 2026-02-25 19:39:47 +05:30
Kovid Goyal
437d4f4166 Forgot to comment out debug print 2026-02-25 16:00:02 +05:30
Kovid Goyal
a6a22df2af ... 2026-02-25 14:57:50 +05:30
Kovid Goyal
2aab63cd9c Fix #9554 2026-02-25 14:50:11 +05:30
Kovid Goyal
3516538a8c Fix display of glyph data 2026-02-25 12:34:19 +05:30
Kovid Goyal
1553958eab Function to print ARGB32 data 2026-02-25 10:48:22 +05:30
Kovid Goyal
a823f72e0e Use the new C code 2026-02-25 10:11:13 +05:30
copilot-swe-agent[bot]
64fb99b4ef Function to output RGBA image as KGP escape codes for debugging
Fixes #9557
2026-02-25 09:58:48 +05:30
Kovid Goyal
a1927eb662 DRYer 2026-02-25 09:11:04 +05:30
Kovid Goyal
b26d0b6ac5 Add more text file types to kitten diff completion
Fixes #9556
2026-02-25 08:57:54 +05:30
Kovid Goyal
dba73e82be Merge branch 'fix-titlebar' of https://github.com/zzhaolei/kitty 2026-02-24 16:28:57 +05:30
Anurag
37dc6e82e4 Add timeout option to key mappings 2026-02-24 16:02:07 +05:30
zhaolei
31b4614c87 fix crash when macos_titlebar_color=background with transparent background 2026-02-24 18:06:53 +08:00
Kovid Goyal
ced3a98aa8 Fix failing test
num_scaled_cells calculation was incorrect. Also optimize copying from
scratch when width is unchanged.
2026-02-24 09:53:06 +05:30
Kovid Goyal
dfaec241d9 ... 2026-02-24 09:12:14 +05:30
Kovid Goyal
941e85a95e Note that graphics-protocol is now supported in xterm.js 2026-02-24 08:55:40 +05:30
Kovid Goyal
c03e280128 Text sizing protocol: Fix alignment/cropping issues when rendering text with a fractional scale
Also add some clarifications to the docs for exactly how alignment
operates with fractional scaling.

Fixes #9471
Fixes #9537
2026-02-24 08:45:21 +05:30
Kovid Goyal
2eb79c0a3a Fix pkill invocation 2026-02-24 07:47:22 +05:30
Kovid Goyal
e25390724e ... 2026-02-23 22:18:13 +05:30
Kovid Goyal
38a2633f20 Cleanup previous PR 2026-02-23 19:40:07 +05:30
Kovid Goyal
5cc510dea4 Merge branch 'titlebar-only-wayland' of https://github.com/antoinecellerier/kitty 2026-02-23 19:19:30 +05:30
Kovid Goyal
ebeee72321 Fix #9549 2026-02-23 19:04:55 +05:30
Daniel M German
723363601f Fix CI error by changing order of imports 2026-02-22 21:24:00 -08:00
Daniel M German
6fa122af11 Fix action triggering by using kitten output instead of remote control
The RC approach sent actions targeting the overlay window itself rather
than the underlying window. Switch to the standard kitten output pattern:
the Go kitten outputs the selected action definition via
KittenOutputSerializer, and handle_result in Python calls boss.combine()
with the correct target window after the overlay closes.
2026-02-22 21:12:36 -08:00
Daniel M German
33b5b0a339 Add command_palette command to display bound keys
Add a Go-based command_palette kitten that provides a searchable,
interactive overlay for browsing and triggering keyboard shortcuts
and actions.

- New Go kitten at kittens/command_palette/ with FZF fuzzy search,
  grouped/flat views, and remote control action triggering
- Python collect_keys_data() does data collection, passed via stdin
- Navigation: arrows, ctrl+j/k (vim), ctrl+n/p (emacs), page up/down
- Enter triggers the selected action via RC command
- Help text displayed in footer for selected binding
- Added Go tests (main_test.go) and Python tests (command_palette.py)
2026-02-22 20:46:47 -08:00