Commit Graph
3 Commits
Author SHA1 Message Date
rootiest 3f7eab7761 refactor(logging): remove redundant home assignment in save_scrollback_safely 2026-06-10 21:38:19 -04:00
rootiest e271c6e486 feat(logging): check C5 sentinel before scrollback capture 2026-06-10 21:36:48 -04:00
rootiest 9d34764815 feat(watcher): add scrollback history logging on window/pane close
Introduces watcher.py — a kitty Python watcher that captures terminal
scrollback to ~/.terminal_history/ whenever any window or pane is closed
via Ctrl+D, keybind, or full kitty quit. Works alongside the fish
smart_exit function, which handles graceful shell exits and sets a
user var flag to prevent duplicate logs.

Fixes the kitty.conf watcher directive (removed invalid --type=global
prefix that caused a FileNotFoundError on every kitty startup).
2026-05-30 23:40:53 -04:00