Commit Graph

1950 Commits

Author SHA1 Message Date
Kovid Goyal
385d90c427 Fix matching of var/env against tabs
Fixes #10095
2026-06-01 11:49:45 +05:30
Mark Stuart
852fc4a662 Add equalize action and equalize_on_close option to Splits layout
Adds an `equalize` layout action that redistributes split sizes so each
window receives a proportional share of space along each axis.

Also adds an `equalize_on_close` layout option that automatically
equalizes splits whenever a window is closed, keeping the remaining
windows balanced without requiring an explicit key binding.

These two features compose well. For example, to keep splits balanced
at all times - equalizing on every open and close:

    enabled_layouts splits:equalize_on_close=true
    map ctrl+' combine : launch --location=hsplit --cwd=current : layout_action equalize
    map ctrl+/ combine : launch --location=vsplit --cwd=current : layout_action equalize

A standalone key binding for manual rebalancing is also supported:

    map ctrl+shift+e layout_action equalize
2026-05-29 20:02:42 +01:00
Kovid Goyal
2b7d8af55a Fix #10089 2026-05-29 14:55:14 +05:30
Kovid Goyal
d6b662e706 macOS: Fix regression in 0.47.0 that broke passing Cmd+C on to terminal applications when no text is selected
Fixes #10087
2026-05-29 07:47:29 +05:30
Kovid Goyal
74b80e9a29 Update changelog 2026-05-29 07:14:28 +05:30
Kovid Goyal
fb5255b1ae version 0.47.1 2026-05-28 09:51:42 +05:30
Kovid Goyal
99248ea629 Update changelog
Fixes #10082
2026-05-28 07:43:44 +05:30
Kovid Goyal
3fc5bed364 Merge branch 'decst8c' of https://github.com/aymanbagabas/kitty 2026-05-27 08:38:45 +05:30
Kovid Goyal
c7622683c8 Cleanup previous PR 2026-05-27 08:31:41 +05:30
Ayman Bagabas
c68a1654d3 feat(vt): add support for DECST8C escape sequence
Recognize CSI ? 5 W as DECST8C, which resets the active screen's tab
stops to the default of every 8 columns. Other CSI W variants continue
to produce a parse error.

Signed-off-by: Ayman Bagabas <aymanbagabas@gmail.com>
2026-05-26 21:12:27 -04:00
Ayman Bagabas
3138ae4aad fix(screen): preserve tab stops across window resizes
Previously, every window resize reinitialised the tab stops to the
default of every 8 columns, discarding any stops set via HTS or cleared
via TBC. ECMA-48 only treats RIS, DECSTR, and DECCOLM as events that
reset tab stops, and other terminal emulators all preserve user-set
stops across an interactive resize.

Copy the surviving prefix of the previous tab stops into the freshly
allocated array on both main and alt screens. Newly added columns when
growing the window keep the default every 8 columns pattern. Also point
the active tabstops pointer at the alt screen's array when a resize
happens while the alt screen is active, instead of unconditionally
resetting it to the main screen's array.

Signed-off-by: Ayman Bagabas <aymanbagabas@gmail.com>
2026-05-26 21:12:27 -04:00
Kovid Goyal
173535736a Allow non UI/client drags from programs that disallow move on drag 2026-05-26 21:56:35 +05:30
Kovid Goyal
f2df2394ce Fix conf watcher kitten not tracking changes to symlink targets 2026-05-24 09:54:01 +05:30
Kovid Goyal
2d9b104134 Fix #10058 2026-05-22 21:38:00 +05:30
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
8b85bc3440 Cleanup previous PR 2026-05-13 11:51:18 +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
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
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
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
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
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
2d18b88480 macOS: Switch to Tahoe style application icon 2026-04-18 13:28:22 +05:30
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
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
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
d5cf828482 Update changelog 2026-04-10 08:42:52 +05:30
Kovid Goyal
543bb5d330 Cleanup previous PR 2026-04-09 14:20:46 +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
3f60cec587 Update changelog 2026-04-08 11:38:25 +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