Commit Graph

17823 Commits

Author SHA1 Message Date
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
Kovid Goyal
8df80afa79 URL detection: Allow trailing asterisks in URLs
Fixes #9543
2026-02-23 07:54:47 +05:30
Kovid Goyal
1df89d9448 Cleanup previous PR
Fixes #9463
2026-02-23 07:44:58 +05:30
Kovid Goyal
1f5b11be0b Merge branch 'fix-sleep-macos' of https://github.com/jorgemmsilva/kitty 2026-02-23 07:27:58 +05:30
Kovid Goyal
c005e8e8a0 Bump version of imaging for new JPEG code 2026-02-23 07:10:13 +05:30
Kovid Goyal
e7fa497f4f bump deps 2026-02-23 07:04:24 +05:30
Kovid Goyal
f0d11f7223 ... 2026-02-22 16:48:59 +05:30
Kovid Goyal
3db06a2915 More debug prints 2026-02-22 16:44:57 +05:30
Kovid Goyal
6edad05c21 ... 2026-02-22 16:44:24 +05:30
Kovid Goyal
9f2a4ad2dd Wayland: Implement ridiculous workaround for broken dnd
Wayland is *the worst* window system I have ever had the
displeasure of trying to support.
2026-02-22 16:24:46 +05:30
Kovid Goyal
322a51da98 ... 2026-02-22 15:44:28 +05:30
Kovid Goyal
b737eaad65 Cleanup previous PR
Use a single wl_surface for the drag icon. Whther it is attached to the
top level drag or not is determined based on availability.
2026-02-22 15:36:10 +05:30
copilot-swe-agent[bot]
accee908aa Implement Wayland xdg-toplevel-drag protocol for make_toplevel in _glfwPlatformChangeDragImage
Fixes #9544
2026-02-22 14:53:34 +05:30
Kovid Goyal
6d59469cf1 Handle drop leave events 2026-02-22 13:44:19 +05:30
Kovid Goyal
ca43d57cdf Fix enumeration of pasteboard items in the source 2026-02-22 13:32:55 +05:30
Kovid Goyal
531fb3e1b1 Change drag thumbnail when in detach/move modes 2026-02-22 13:09:56 +05:30
Kovid Goyal
a4514fcf66 ... 2026-02-22 12:12:23 +05:30
Kovid Goyal
9a58af12b4 Fix tab bar visibility while dragging tabs around 2026-02-22 12:09:41 +05:30
Kovid Goyal
aaa9ff51b5 Fix tab bar not being redrawn when tab is moved out and then brought back in prev position 2026-02-22 11:59:14 +05:30
Kovid Goyal
cad8f3fd17 Only re-order tabs when dropping in the actual tab bar of the origin window 2026-02-22 11:54:57 +05:30
Kovid Goyal
449abb69bc Cleanup previous PR 2026-02-22 11:13:57 +05:30
copilot-swe-agent[bot]
0c0c5a62f7 Implement changing drag image in the various backends
Fixes #9542
2026-02-22 09:26:14 +05:30
Kovid Goyal
6506ce1e91 API to change image for drag in progress 2026-02-22 09:10:26 +05:30
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