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 | 354d007d1e4387462ef41c396c5a5161958402b0 (patch) | |
| tree | c5f5693bb6d46e9a6114e34e1d5fbfec9e9ffa88 /init.el | |
| parent | aeeecbc0e00e1c6b02a8fb3a44f1c9ce43dba403 (diff) | |
| download | dotemacs-354d007d1e4387462ef41c396c5a5161958402b0.tar.gz dotemacs-354d007d1e4387462ef41c396c5a5161958402b0.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 'init.el')
0 files changed, 0 insertions, 0 deletions
