Commit graph

3571 commits

Author SHA1 Message Date
Kovid Goyal
2dcbb392dc
Merge branch 'add-orbiton-to-documentation' of https://github.com/xyproto/kitty 2026-05-22 17:13:56 +05:30
Alexander F. Rødseth
8f87080cbb Add the Orbiton text editor to the documentation 2026-05-22 12:42:36 +02:00
Kovid Goyal
a17b2df580
Fix #10054 2026-05-22 07:57:41 +05:30
Kovid Goyal
13fc98d7ec
Update changelog
Fixes #10040
2026-05-20 11:58:57 +05:30
Kovid Goyal
eadec09d49
version 0.47.0 2026-05-19 11:22:14 +05:30
Kovid Goyal
656af81cfb
... 2026-05-19 08:06:39 +05:30
Kovid Goyal
ba31e15a30
... 2026-05-17 21:45:42 +05:30
Kovid Goyal
e2727d91fb
Clarify handling of subdirs in drag source 2026-05-17 14:51:37 +05:30
Kovid Goyal
a1b1b89feb
macOS requires URLs to directories to end with a slash 2026-05-17 08:38:11 +05:30
Kovid Goyal
0c6c387312
Modify spec to add allowed operations to drop events 2026-05-14 09:09:05 +05:30
Kovid Goyal
8b85bc3440
Cleanup previous PR 2026-05-13 11:51:18 +05:30
Kovid Goyal
634f13e65f
More work on dnd kitten 2026-05-11 21:51:23 +05:30
Kovid Goyal
43b028bd6a
Finish terminal side port of new dnd sub protocol 2026-05-11 13:39:43 +05:30
Kovid Goyal
7da113e4ab
Modify the drag remote data protocol to accommodate macOS semantics
Implementation to follow
2026-05-09 13:15:11 +05:30
Kovid Goyal
21d8b2bcc0
Add descriptions to error codes for drag sources 2026-05-09 09:58:38 +05:30
Kovid Goyal
b85ec2b8c6
Update changelog 2026-05-07 10:17:17 +05:30
Kovid Goyal
e07177ecae
Update changelog 2026-05-07 09:54:03 +05:30
Kovid Goyal
6146031183
... 2026-05-07 09:44:14 +05:30
Kovid Goyal
5de8734ce3
choose-files kitten: Output a trailing newline when writing to a tty in text format
Fixes #9982
2026-05-07 08:53:09 +05:30
Kamil Zielinski
9981778131
Remove shift from next tab shortcut 2026-05-06 13:11:07 +02:00
Kovid Goyal
ff1ce8fa76
Add detection for dnd protocol 2026-05-06 08:48:26 +05:30
Kovid Goyal
abcb7d0e3d
Docs for the dnd kitten 2026-05-06 08:12:00 +05:30
Kovid Goyal
1b4cec36e2
Allow using text to specify the drag thumbnail 2026-05-04 09:58:39 +05:30
Kovid Goyal
a87441b91a
Fix failing test 2026-05-02 17:16:27 +05:30
Kovid Goyal
ff7c6425e6
More work on dnd kitten 2026-05-02 12:16:42 +05:30
Kovid Goyal
bddf6d5bbd
More work on dnd kitten 2026-04-30 17:18:57 +05:30
copilot-swe-agent[bot]
b0f53acd5c
Move color table out of CellRenderData UBO into its own ColorTable UBO
Workaround for Nvidia Linux driver bug where partially updated UBOs
get corrupted post suspend/resume.

Fixes #9844
Fixes #9936
2026-04-30 14:52:24 +05:30
Kovid Goyal
ee84e68ca4
Have top level symlink behavior match for local and remote drops 2026-04-30 09:38:17 +05:30
Kovid Goyal
b915e3317e
Drop protocol: have the final drop operation be reported at the end. This is needed for when there are errors in the client processing the dropped data. 2026-04-28 17:30:18 +05:30
Kovid Goyal
5fd06628be
Note that nvim now supports the kitty graphics protocol 2026-04-27 06:43:49 +05:30
Kovid Goyal
27048839eb
Fix #9928 2026-04-27 06:34:13 +05:30
Kovid Goyal
9acc16cc44
Clarify that end of drop escape code discards queued requests 2026-04-26 22:34:30 +05:30
Kovid Goyal
5623ce52bb
Disallow parsing color specs as conf files for clone-in-kitty and edit-in-kitty 2026-04-26 10:47:24 +05:30
Kovid Goyal
851ec96979
save_as_session: when the filename input by the user has no extension, automatically add the `.kitty-session` extension
Fixes #9919
2026-04-25 14:30:26 +05:30
Kovid Goyal
bcfcfec8dd
... 2026-04-25 10:50:57 +05:30
copilot-swe-agent[bot]
7d3ff332b9
macOS: fix args passed via open --args being ignored when macos-launch-services-cmdline is present (fixes #9910)
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/2cdc7e8f-5b64-4c97-bd65-dec508155313

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-24 04:52:37 +00:00
Kovid Goyal
4c6f7ff6b5
Modify drop protocol to allow transmission of broken symlinks in the URI list 2026-04-23 12:36:22 +05:30
Kovid Goyal
6b9d449b0d
Fix #9904 2026-04-22 07:43:57 +05:30
Kovid Goyal
827b4b9e02
Option to have focus_follows_mouse only on drops
Fixes #9896
2026-04-21 20:05:00 +05:30
Kovid Goyal
8b3daa6a50
Fix drop data requests 2026-04-21 08:32:42 +05:30
Kovid Goyal
4e04e34438
Refactor dnd cmd queueing API 2026-04-19 22:54:44 +05:30
Kovid Goyal
a3dfe2b55a
Make sticky_header default to yes 2026-04-19 12:14:39 +05:30
Kovid Goyal
ed6bdacf44
Merge branch 'pdobrev/diff-sticky-header' of https://github.com/pdobrev/kitty 2026-04-19 12:12:37 +05:30
Petar Dobrev
bd9b5d80f3 fix docs reference 2026-04-19 09:32:25 +03:00
Petar Dobrev
4f5698a5a2 fix overlap with the next file's header 2026-04-19 09:24:44 +03:00
Kovid Goyal
36171d1233
More work on dnd kitten 2026-04-19 10:21:01 +05:30
Kovid Goyal
2d18b88480
macOS: Switch to Tahoe style application icon 2026-04-18 13:28:22 +05:30
Steven Xu
dbce70908b docs: add *BICat* to graphics protocol applications 2026-04-18 01:06:16 +10:00
Kovid Goyal
e9f3844f64
Implement auto reload of config 2026-04-16 14:41:29 +05:30
Kovid Goyal
a4608c77a6
Update changelog 2026-04-16 08:49:26 +05:30
Kovid Goyal
12a87929c6
Fix various minor bugs in the multiple bgimage code 2026-04-15 23:02:11 +05:30
Kovid Goyal
2c9541cf21
Allow preloading multiple background images to GPU for fast switching
Fixes #9836
2026-04-15 22:34:20 +05:30
Kovid Goyal
f65438d6a5
Improve performance of using active process data when rendering the tab bar by only scanning processes once per second
We dont bother with configurable ttl. Instead treat the start of caching
as the instant when cache freshness is checked. And ensure that cache is
re-used for every OS Window.

Fixes #9862
Fixes #9872
2026-04-15 07:53:09 +05:30
Kovid Goyal
95593ef008
Wayland: Allow holding momentum scroll by putting two finger on touchpad. Fixes #9863 2026-04-14 09:39:57 +05:30
Kovid Goyal
4942ac98a1
More work on DnD protocol 2026-04-13 19:40:23 +05:30
Kovid Goyal
77512086df
... 2026-04-13 13:58:00 +05:30
Kovid Goyal
9354a334fd
More spelling errors 2026-04-12 12:55:01 +05:30
Kovid Goyal
3d0a34254a
... 2026-04-12 12:52:57 +05:30
Kovid Goyal
916173dcb3
Improve machine id docs formatting 2026-04-12 12:46:49 +05:30
Kovid Goyal
f81111245e
... 2026-04-12 12:42:06 +05:30
Kovid Goyal
864ef70484
Have the client send machine id to terminal rather than vice versa
The terminal is the trusted by user party here.
2026-04-12 11:00:23 +05:30
Kovid Goyal
9ebe692bf7
Allow drop clients to use machine id as well 2026-04-12 09:27:16 +05:30
Kovid Goyal
df20d4aa7c
Add machine id and stub for t=k transfers 2026-04-11 17:20:53 +05:30
Kovid Goyal
26388c6bbf
Update changelog 2026-04-11 10:08:44 +05:30
copilot-swe-agent[bot]
76c76381b8
Add missing block elements from Unicode Symbols for Legacy Computing Supplement
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/0e5a33d1-c34e-4e8a-b161-7469ab770c05

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-11 04:24:29 +00:00
Kovid Goyal
564c964ed0
Add remote drag protocol
Needs to be implemented.
2026-04-10 20:32:53 +05:30
Kovid Goyal
5e158f90a7
Fix some responses from terminal sometimes leaking into shell on after kitten exit
Always do a roundtrip at kitten exit, except for special purpose
kittens. This slows down exit by one round trip time (capped at 2
seconds), however it ensures that we never get terminal response leak.

Fixes #9839
2026-04-10 15:14:38 +05:30
Kovid Goyal
b466f8b4df
Fix no way to unambiguously identify sub-dirs in drop protocol 2026-04-10 12:47:56 +05:30
Kovid Goyal
d5cf828482
Update changelog 2026-04-10 08:42:52 +05:30
Kovid Goyal
eda9fb58a4
Change the error code for responses used in drag offer protocol to E from R so that there is no ambiguity with drop responses 2026-04-09 22:04:20 +05:30
Kovid Goyal
3ab89a2fa8
Refactor the drop protocol
Get rid of request_id. Instead use the x, y, and Y fields to
disambiguate requests. Specify error handling a little more robustly.

Implementation needed.
2026-04-09 20:39:54 +05:30
copilot-swe-agent[bot]
4d2b63fce8
Revert to 1-based directory entry indexing in DnD protocol
- dnd.c: entry_num==0 closes handle; entry_num>=1 reads at entry_num-1
- parse-dnd-command.h: revert cell_y default to 0 (from {0} init)
- gen/apc_parsers.py: remove post_init for DnD parser
- docs/dnd-protocol.rst: update to say 1-based indexing
- tests: all .index() calls add +1, rename test_dir_entry_one_based_index

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/d4074aba-3aeb-4d2b-adc1-d6c6f2b539e7

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-09 11:52:31 +00:00
Kovid Goyal
a92b381dc3
Change how directories and symlinks in directories are handled when reading drop data
Needs implementation.
2026-04-09 16:47:03 +05:30
Kovid Goyal
543bb5d330
Cleanup previous PR 2026-04-09 14:20:46 +05:30
Kovid Goyal
1923184cba
... 2026-04-09 09:02:26 +05:30
Kovid Goyal
7bb73a3c54
... 2026-04-09 08:27:13 +05:30
Kovid Goyal
71fcc7e233
Add a request id for DnD protocol data requests
Allows multiple in-flight requests. Needs implementation.
2026-04-09 08:23:33 +05:30
Kovid Goyal
0684c13898
Code to get and use machine id during DnD 2026-04-09 07:47:57 +05:30
Kovid Goyal
47b5b2ea65
Prevent reading uri-list items for a drag and drop in same window 2026-04-09 06:38:58 +05:30
Kovid Goyal
6c35b64356
... 2026-04-08 22:57:04 +05:30
copilot-swe-agent[bot]
f6f1cae3b7
Fix issue #9834: preserve trailing spaces on soft-wrapped lines during copy
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/343539f7-deab-4eeb-9829-99bec57c3523

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-08 17:17:20 +00:00
Kovid Goyal
3fb748e3db
Add cancelling of current drag offer 2026-04-08 20:49:10 +05:30
Kovid Goyal
702f9905d2
More work on the DnD protocol 2026-04-08 19:19:20 +05:30
Kovid Goyal
348151c457
More work on DnD protocol 2026-04-08 19:07:15 +05:30
Kovid Goyal
3f60cec587
Update changelog 2026-04-08 11:38:25 +05:30
Kovid Goyal
e7a196f403
fix broken links 2026-04-08 11:23:53 +05:30
Kovid Goyal
c630e1293e
Fix #9827 2026-04-08 11:09:51 +05:30
Kovid Goyal
b198a45fe8
Merge branch 'master' of https://github.com/lxcode/kitty 2026-04-07 19:56:07 +05:30
Kovid Goyal
7e5d4f8723
Update changelog 2026-04-07 19:43:25 +05:30
David Thiel
faed62e993 Make focus_follows_mouse only switch on window-boundary crossings
The previous implementation reverted any keyboard-driven window switch
on the next mouse motion event because it compared the hovered window
against the active window rather than against the previously hovered
window. Move the focus-follows-mouse trigger into
set_currently_hovered_window so it fires only when the hover ID
actually transitions, which also covers OS-window-entry.
2026-04-07 14:18:54 +01:00
copilot-swe-agent[bot]
18fb31b416
Fix double-click word selection not extending beyond viewport edges
Add continue_word_upwards_scrollback() and continue_word_downwards_offscreen()
to extend word selection beyond viewport boundaries, mirroring the line
selection fix. Add tests for word selection wrapping into scrollback and
below viewport.

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/58191e45-d925-4996-b0d5-8b1bd4baa8d5

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-07 09:49:50 +00:00
copilot-swe-agent[bot]
82bf8923cc
Fix triple-click line selection not extending wrapped lines beyond viewport bottom
Similar to commit 625e984 which fixed extending into scrollback (above viewport),
this fix extends line selection below the viewport when a wrapped line continues
past the bottom edge. Adds continue_line_downwards_offscreen() and applies it
in both the initial selection and extending selection code paths.

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/e548ce84-fdb7-4fd1-b3df-e1166b45f5bd

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-07 09:31:17 +00:00
Daniel M German
cb297c52c4 Document how command palette search computes candidates
Replace the brief Searching section with a structured user-facing
explanation covering: multi-word queries, per-word matching (exact,
prefix, and typo tolerance), compound names with delimiter characters,
and the five-level ranking order.
2026-04-06 22:42:47 -07:00
Kovid Goyal
c88adfba98
Allow optionally dragging URLs with the mouse
Fixes #9804
2026-04-06 10:40:11 +05:30
Kovid Goyal
a29b9387fa
More work on DnD protocol implementation 2026-04-04 14:27:03 +05:30
Kovid Goyal
ce041fab84
More work on DnD protocol implementation 2026-04-04 13:32:18 +05:30
Kovid Goyal
8bf1bd479b
edit-in-kitty: Ignore environment variables as some editors execute code present in env vars 2026-04-04 08:42:06 +05:30
Kovid Goyal
0fcbd265b6
Accumulate DnD image data 2026-04-03 23:18:07 +05:30
Kovid Goyal
e09bfc0708
Update changelog 2026-04-03 13:53:26 +05:30
Kovid Goyal
f6339d0bbf
More work on the DnD protocol 2026-04-03 11:42:22 +05:30