diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 15:39:40 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 15:39:40 -0500 |
| commit | c3ec8508a8ff414d099d9e567eb5ffd43a9c93f2 (patch) | |
| tree | 4229514bcfe38d3c569eeadfc5a04226d8816c39 /modules/lorem-optimum.el | |
| parent | 9600611d5f8382ffc849d56a67ba5eb980d64e04 (diff) | |
| download | dotemacs-c3ec8508a8ff414d099d9e567eb5ffd43a9c93f2.tar.gz dotemacs-c3ec8508a8ff414d099d9e567eb5ffd43a9c93f2.zip | |
feat(vterm): show tmux scrollback history in place
`cj/vterm-tmux-history' previously used `pop-to-buffer', which routed the history view through display-buffer-alist -- in an agent window that often meant a split or a hand-off to another window, costing the agent its frame slot. `switch-to-buffer' instead drops the history into the selected window directly; the existing quit handler already restores the origin in that same window via `set-window-buffer'.
New test asserts the in-place behavior: starting single-window with a vterm origin, invoking the command leaves `(one-window-p)` t with the history buffer in the original slot. The existing render test no longer needs its `pop-to-buffer' stub since `switch-to-buffer' works in batch.
Diffstat (limited to 'modules/lorem-optimum.el')
0 files changed, 0 insertions, 0 deletions
