Commit Graph

18379 Commits

Author SHA1 Message Date
Kovid Goyal
8ad22e7859 On Wayland detach even on drag cancel
Wayland compositors contravene their own spec and make it impossible to
distinguish between drop-but-not-accept and drag-cancel cases.
https://gitlab.freedesktop.org/wayland/wayland/-/issues/140
2026-02-22 08:19:31 +05:30
Kovid Goyal
eb23c18821 Dont detach when user presses esc to cancel drag and there is no drop 2026-02-22 07:42:42 +05:30
Kovid Goyal
0f10380773 Cocoa backend: distinguish between cancelling drop by esc key/dragging to trash and dropping in unsupported place 2026-02-22 07:34:27 +05:30
Kovid Goyal
f91da73b95 Update changelog
Fixes #9296
2026-02-22 06:49:48 +05:30
Kovid Goyal
d4bd05a948 Cleanup drag start handling 2026-02-22 06:44:40 +05:30
Kovid Goyal
80367cdb7b Add option to control tab bar drag threshold 2026-02-22 06:39:57 +05:30
Kovid Goyal
60ee969028 Cleanup previous PR 2026-02-22 06:31:13 +05:30
copilot-swe-agent[bot]
15644d1eed Add tab title above window screen shot
Fixes #9540
2026-02-21 22:27:33 +05:30
copilot-swe-agent[bot]
56a9dd1bb7 Place drag icon below cursor on macOS
Fixes #9539
2026-02-21 22:06:49 +05:30
Kovid Goyal
2e1e89f280 Cleanup previous PR 2026-02-21 21:30:24 +05:30
Kovid Goyal
c32cc2233a Merge branch 'macos-dock-badge-on-bell' of https://github.com/pietervdheijden/kitty 2026-02-21 21:19:17 +05:30
Kovid Goyal
b3a74cb8f4 Update changelog 2026-02-21 20:58:34 +05:30
copilot-swe-agent[bot]
bcba8fc04c Wayland: Add support for ext-background-effects
Fixes #9536
Fixes #9534
2026-02-21 20:56:40 +05:30
Kovid Goyal
6bd0aa5269 Fix #9538 2026-02-21 20:38:34 +05:30
Kovid Goyal
43bd80c01a Merge branch 'master' of https://github.com/maxdexh/kitty 2026-02-21 20:01:23 +05:30
Max Dexheimer
b023f5b1b3 Fix horizontal alignment cropping symbols off
Calculate horizontal alignment delta based on the unscaled rather
than scaled canvas width to avoid shifting too far and cropping
2026-02-21 13:42:20 +01:00
Kovid Goyal
dea3ad5eed API for registering MIME types for drag enter 2026-02-21 17:25:25 +05:30
Kovid Goyal
57e7dc2cdc Add some more common types 2026-02-21 17:25:03 +05:30
Kovid Goyal
7efba91ffc Register UTI for tab drag mime on Cocoa 2026-02-21 16:59:58 +05:30
Kovid Goyal
aab60b7967 Fix mime <-> UTI roundtripping 2026-02-21 16:37:04 +05:30
Kovid Goyal
e93e50293a Bump zlib for CVE 2026-02-21 15:51:48 +05:30
Kovid Goyal
5e84935838 DRYer 2026-02-21 15:22:00 +05:30
Kovid Goyal
96c01b74d8 Detach tab via drag and drop now implemented 2026-02-21 15:15:33 +05:30
Kovid Goyal
e10451dbcb Fix dropping of tab into other os window breaking tab bar layout 2026-02-21 14:41:22 +05:30
Kovid Goyal
0682c5bc8a Get basic tab move from one OS window to another via drag working 2026-02-21 14:27:17 +05:30
Kovid Goyal
c56d4223af Refactor state tracking for tab drag
Drop into same window now works
2026-02-21 13:31:04 +05:30
Kovid Goyal
0b6636eb0f Get tab re-ordering on drag in same window to work
Still need to implement multiple windows and detach and the actual drop
event.
2026-02-20 12:22:56 +05:30
Pieter van der Heijden
e1643ae68a Add macos_dock_badge_on_bell config option
Set a "!" badge on kitty's dock icon when a bell fires and kitty is not
focused, providing a persistent visual indicator for background
notifications. The badge is automatically cleared when kitty regains
focus via NSApplicationDidBecomeActiveNotification. The option defaults
to yes and can be disabled with `macos_dock_badge_on_bell no`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 22:01:07 +01:00
Kovid Goyal
7123f727fc Handoff tab drag to OS 2026-02-19 14:15:29 +05:30
copilot-swe-agent[bot]
acd2db20eb Fix screenshot generation to handle colors correctly
We want to convert premult sRGB in output framebuffer to sRGB
non premult pixels.

Fixes #9525
2026-02-19 12:58:13 +05:30
Kovid Goyal
dc57e5bdb8 Start work on drag and drop for tabs 2026-02-19 12:37:31 +05:30
Kovid Goyal
37c2dae810 DRYer 2026-02-18 21:04:51 +05:30
copilot-swe-agent[bot]
f1df140e7d Add function to take screenshot of single window
Fixes #9524
2026-02-18 21:01:01 +05:30
copilot-swe-agent[bot]
b9c9986111 Do scaling of OS Window screenshot on GPU
Fixes #9523
2026-02-18 20:42:58 +05:30
Kovid Goyal
dc328012f4 Allow passing zero thumbnail size 2026-02-18 20:20:37 +05:30
Kovid Goyal
5db53e8f1d Function to take screenshot of OS Window 2026-02-18 20:16:57 +05:30
copilot-swe-agent[bot]
0dfb01e8c5 Implement X11 drag source backend for the new API
Fixes #9522
2026-02-18 16:55:52 +05:30
Kovid Goyal
3cd2aa6a2f Add some docs for the drag source API 2026-02-18 16:05:27 +05:30
Kovid Goyal
a2b7a0cd6d Port Cocoa drag source backend to new API 2026-02-18 11:20:17 +05:30
Jorge Silva
adc97bc117 fix blank screen on macOS resume from sleep 2026-02-17 17:56:14 +00:00
Kovid Goyal
e5eb63fcd0 Refactor drag source API to be async
Wayland implementation done. Other two backends remain.
2026-02-17 13:07:55 +05:30
Kovid Goyal
76a29273c8 Dont send non-finger based zero size scroll events on Wayland 2026-02-17 11:23:49 +05:30
Kovid Goyal
ff4d80dbde Fix #9513 2026-02-17 10:38:27 +05:30
Kovid Goyal
05dbe085a5 Note that the Microsoft Terminal now supports the kitty keyboard input protocol 2026-02-17 10:15:38 +05:30
Kovid Goyal
71c705a1bd When dropping text into the terminal apply the paste actions
This means control codes are now automatically sanitized or queried as
per paste actions settings.
2026-02-17 10:09:10 +05:30
Kovid Goyal
adfa41b7e7 Merge branch 'fix-color-display' of https://github.com/vishalpatil-45/kitty 2026-02-17 09:02:21 +05:30
vishalpatil-45
7c8cd2cd1e Fix: Increase sRGB LUT precision to 8 decimal places for more accurate color rendering 2026-02-17 02:22:20 +05:30
Kovid Goyal
d333095437 Cleanup previous PR 2026-02-16 14:11:00 +05:30
Kovid Goyal
f2fd4a47d0 Merge branch 'master' of https://github.com/littleblack111/kitty 2026-02-16 13:47:21 +05:30
littleblack111
5dfcfba50c Add copy_last_command_output_or_clipboard action
Adds a new keyboard action that copies the selected text to clipboard,
or if no selection exists, copies the last command output. This follows
the pattern of existing actions like copy_or_interrupt.
2026-02-16 15:33:03 +08:00