Commit Graph

17330 Commits

Author SHA1 Message Date
Kovid Goyal
4ec1fa5168 Prevent invocation of command-palette from command line 2026-03-03 13:13:20 +05:30
copilot-swe-agent[bot]
347c829156 Cleanup previous PR
Various fixes and improvements to the command palette kitten

Fixes #9585
2026-03-03 13:04:26 +05:30
Kovid Goyal
813f8ba7cf Merge branch 'show_keys' of https://github.com/dmgerman/kitty 2026-03-03 09:47:41 +05:30
Kovid Goyal
2b11345d9b Add border drag based window resizing to the docs 2026-03-03 09:26:02 +05:30
Kovid Goyal
4e76c089d8 Add emacs kitty graphics package to integrations 2026-03-03 09:19:18 +05:30
Kovid Goyal
77ac85f97b macOS: Fix flicker during OS Window resize
Do not sync rendering to system vsync in out of sequence renders.
2026-03-03 08:51:41 +05:30
Kovid Goyal
b8faada186 Add some debug prints 2026-03-03 08:39:12 +05:30
Kovid Goyal
ad560715a6 Track border rect orientation explicitly 2026-03-02 21:34:48 +05:30
Kovid Goyal
db9c4c24a7 ... 2026-03-02 20:22:36 +05:30
Kovid Goyal
e65521e9c2 Clarify that overlay windows are not traversed by next/prev window actions 2026-03-02 19:36:13 +05:30
Kovid Goyal
e09e707dc6 Generalize leading edge special case 2026-03-02 19:28:04 +05:30
Kovid Goyal
d807960684 Update docs to note that tabs can be dragged and dropped 2026-03-02 16:48:43 +05:30
Kovid Goyal
ba8a8a0980 More work on splits drag resize 2026-03-02 16:43:21 +05:30
Kovid Goyal
c3d26f1cf0 Splits layout: cleanup resize drag handling 2026-03-02 16:17:04 +05:30
Kovid Goyal
a222df75cb Cleanup splits drag resize handling 2026-03-02 12:37:28 +05:30
Kovid Goyal
bc7523fe32 Merge branch 'fix/splits-layout-variable-shadowing' of https://github.com/noomz/kitty 2026-03-02 12:29:06 +05:30
Siriwat Uamganmsup
d5e45cf8d3 Splits layout: Fix variable shadowing in layout_pair causing corrupted pane positions
The for loops iterating over edge_border() results in layout_pair() used
top, bottom, left, right as loop variable names, which shadowed the
function's local variables tracking current layout position. This caused
sibling panes to be positioned at incorrect offsets when splitting a pane
that was itself a nested Pair (e.g. splitting the left pane horizontally
would cause the right pane to shift down half the screen).

Rename loop variables to etop, ebottom, eleft, eright to avoid shadowing.
2026-03-02 13:53:59 +07:00
Kovid Goyal
35c30423ea ... 2026-03-02 12:07:59 +05:30
Kovid Goyal
69b9993804 Fix border directionality in grid layout 2026-03-02 11:28:52 +05:30
Kovid Goyal
4264889e9a Fix border marking in tall/fat layout 2026-03-02 11:22:23 +05:30
Kovid Goyal
bc66878821 ... 2026-03-02 11:09:52 +05:30
Kovid Goyal
68d1a336fe Fix edge detection for borders in vert/horz layouts 2026-03-02 11:04:09 +05:30
Kovid Goyal
dc4cf8280d ... 2026-03-02 10:58:40 +05:30
Kovid Goyal
3281a8d634 DRYer 2026-03-02 08:45:34 +05:30
Kovid Goyal
6b54c201e5 Track window ids on border rects
More robust. Splits layout still needs work.
2026-03-02 08:31:36 +05:30
Kovid Goyal
9c0d7b83b1 Fix #9577 2026-03-01 16:11:21 +05:30
Kovid Goyal
3352b8e572 Wrap request attention API and expose to python 2026-03-01 11:33:03 +05:30
Kovid Goyal
4d0459df95 Update changelog 2026-03-01 11:00:26 +05:30
Kovid Goyal
5c2b088895 Merge branch 'fix/split-view-fullscreen-crash' of https://github.com/AndrewP-GH/kitty 2026-03-01 10:59:41 +05:30
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