summaryrefslogtreecommitdiff
path: root/modules/custom-buffer-file.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-20 18:10:05 -0400
committerCraig Jennings <c@cjennings.net>2026-05-20 18:10:05 -0400
commit3b428ce68e36b26bf7f71e99a644e6be11712a00 (patch)
tree5f3c5e00f0f8c807bcd9fd6bcee4d73269d7a4bd /modules/custom-buffer-file.el
parentf71881efe8e155ec821af95a9f36c7794f5f234d (diff)
downloaddotemacs-3b428ce68e36b26bf7f71e99a644e6be11712a00.tar.gz
dotemacs-3b428ce68e36b26bf7f71e99a644e6be11712a00.zip
feat(ai-vterm): default to bottom-75% on laptop, right-50% on desktop
The agent window's default placement was hardcoded to a right-side split at 50% width. That's wrong on a laptop, where the screen is shorter and a bottom split with more height fits better than a narrow side panel. Pick the default from the host: bottom at 75% height on a laptop, right at 50% width on a desktop, branching on env-laptop-p in cj/--ai-vterm-default-direction and cj/--ai-vterm-default-size. The defaults still feed the existing toggle-capture mechanism, so re-orienting the window mid-session sticks the same way it did before. Renamed cj/ai-vterm-window-width to cj/ai-vterm-desktop-width and added cj/ai-vterm-laptop-height so each axis has its own knob.
Diffstat (limited to 'modules/custom-buffer-file.el')
0 files changed, 0 insertions, 0 deletions