docs(session): document restoring the last session

Explain where the state is kept, that restoring is explicit and what happens
to a stale or corrupt state file, so that users know the feature exists and how
to get rid of the saved state.
This commit is contained in:
BlackAngelTV committed 2026-11-11 21:03:29 +01:00
1 parent 5fc31a0495
commit ccccd485ce
2 files changed
+27

No files matched your search

+7
View File
@@ -222,6 +222,13 @@ Detailed list of changes
0.50.1 [unreleased]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- kitty now remembers the state of the session that was in use when it exited,
in :file:`$XDG_STATE_HOME/kitty/last-session.json`, so that
:code:`kitty --session=last` brings back the tabs, layouts, working
directories and titles of the previous run. Restoring is explicit, never
automatic, and a corrupt or oversized saved state is discarded instead of
blocking startup. See :ref:`sessions` for details.
- :kbd:`Ctrl+Shift+E` now opens the :doc:`file manager kitten
<kittens/file-manager>` in a left dock by default, instead of requiring a
manual mapping. This takes the key over from :ac:`open_url`; remap