Repository navigation
docs: explain tmux auto-attach guard in herdr panes - #4592
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe English, Japanese, and Chinese agent documentation now explains how to exclude Herdr panes from automatic tmux startup. Each page describes possible terminal shrinking and flickering when reconnecting to an outer tmux session and includes a zsh example that checks Suggested reviewers: Merge Risk: ⚪ Minimal · up to The guidance matches Herdr’s pane environment behavior, and no material issue remains that should block merging. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
|
@coderabbitai review |
|
Merges 9 upstream commits: native kitty graphics rendering replacing the custom graphics API (herdrdev#4561, breaking), navigator search term matching (herdrdev#4535), avoiding inferring codex idle from terminal output (herdrdev#4563), Windows input coverage reporting and clipboard test fixes (herdrdev#4566), qualified Win32/Kitty input path test defaults (herdrdev#4587), reduced redundant client ANSI encoding work (herdrdev#4552), reduced repeated scrollback page lookups (herdrdev#4553), tmux auto-attach guard docs (herdrdev#4592), and keeping copy mode active during projection updates (herdrdev#4281). refs upstream herdrdev/herdr@8d95e9bd
Summary
Document how to exclude Herdr panes from shell rules that automatically attach to tmux when
TMUXis unset. The guidance uses Herdr's existingHERDR_ENV=1marker and preserves the deliberate cleanup of inherited tmux session handles.This is documentation only. Users with tmux auto-attach rules need to add the guard to their shell startup configuration.
Related: #4555.
Reproduction and options tested
window-size=latest), two outer clients at 138x40 and 112x37, and focus events enabled, the unguarded zsh startup rule attached a third client to the outer session. Geometry shrank from 112x36 to 41x1.HERDR_ENVguard to that rule kept only the two outer clients, with stable geometry. This is the supported mitigation in this PR.Restoring inherited
TMUXwas not tested as a fix: #4461 deliberately removed those stale outer-session handles to address #4104. This PR changes no runtime behavior, and #4555 remains open.Validation
just checkpassed on the rebased branch. The disposable WSL2 reproduction was cleaned up.