feat(watcher): add scrollback history logging on window/pane close #2

Merged
rootiest merged 1 commits from feat-scrollback-watcher into main 2026-05-31 03:42:32 +00:00

1 Commits

Author SHA1 Message Date
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