feat(session): restore the last session from a keybinding

Besides the --session=last startup option, the saved state can now be brought
back in a running kitty with restore_last_session, mapped to kitty_mod+alt+r.
The option types are regenerated so the shortcut is actually part of the
default configuration.
This commit is contained in:
BlackAngelTV committed 2026-11-11 21:39:45 +01:00
1 parent ea4faeb5ac
commit 38ec8c86d7
7 files changed
+62 -1

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
#include "to-c.h"
static void
convert_from_python_font_size(PyObject *val, Options *opts) {
opts->font_size = PyFloat_AsDouble(val);