Commit graph

3473 commits

Author SHA1 Message Date
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