Allow dropping single-window tabs into another tab layout

This commit is contained in:
白鸽 2026-09-14 19:17:54 +08:00
parent a54b409785
commit 7faf714da2
6 changed files with 240 additions and 16 deletions

View file

@ -202,6 +202,10 @@ Detailed list of changes
0.49.0 [future]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Allow dropping a tab containing a single window into another tab's layout,
using the existing window drop preview and preserving running programs.
See :doc:`overview` for details.
- Support for :doc:`/custom-shaders` for adding various graphical effects (:iss:`10344`)
- Various throughput performance improvements for a 15-35% real world improvement depending on workload

View file

@ -183,7 +183,13 @@ in your browser, etc. For details, see :doc:`here <open_actions>`.
Additionally, various bits of the kitty UI itself work with the mouse. You can
drag and drop tabs in the tab bar to re-order them or move them from one OS
Window to another, or even pop them out into a new OS Window.
Window to another, or even pop them out into a new OS Window. A tab containing a
single window can also be dropped into the content area of another tab to insert
its window at the highlighted edge. In the Splits layout, all four edges are
available. The window and any overlays move together, keeping running programs
alive; the empty source tab is removed. This also works between OS Windows
belonging to the same kitty process. Tabs containing multiple windows keep their
existing tab-moving behavior.
You can drag window borders to resize windows. You can double click on empty regions
of the tab bar to create new tabs or double click on an existing tab to rename
it.