diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-28 15:29:37 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-28 15:29:37 -0400 |
| commit | 3c54def0bb2637da6b0700d72defa3a3f838909b (patch) | |
| tree | 5bdb2fe703c79193986703f63063afe685798fd6 /modules/keybindings.el | |
| parent | 7cdd9a7490e6a3d0725adcf6fea8c678fafc4416 (diff) | |
| download | dotemacs-3c54def0bb2637da6b0700d72defa3a3f838909b.tar.gz dotemacs-3c54def0bb2637da6b0700d72defa3a3f838909b.zip | |
fix(ai-term): keep agent buffers alive through the kill-all sweep
F1 (cj/dashboard-only) kills every other buffer, burying only those on the undead list. Agent buffers were never registered, so the sweep killed live agents and detached their sessions.
Agent buffers are a dynamic family ("agent [<project>]") that an exact-name list can't pre-enumerate, so undead-buffers gains a regexp list (cj/undead-buffer-regexps) and a centralized cj/--buffer-undead-p predicate. Both kill paths route through it. ai-term registers the "agent [" pattern, so every agent -- current or future, however created -- is buried rather than killed.
Diffstat (limited to 'modules/keybindings.el')
0 files changed, 0 insertions, 0 deletions
