Skip to content

Stabilize cmux jump and session rendering#151

Merged
graykode merged 2 commits into
mainfrom
fix/cmux-jump-rendering
Jul 7, 2026
Merged

Stabilize cmux jump and session rendering#151
graykode merged 2 commits into
mainfrom
fix/cmux-jump-rendering

Conversation

@graykode

@graykode graykode commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a cmux jump fallback that uses the target session cmux environment and AppleScript when the cmux socket rejects external commands.
  • Repaint the session table before rendering rows to avoid stale selection markers while moving with arrow keys.
  • Make UI truncation respect terminal display width and add regression coverage for wide characters and jump footer behavior.

Test Plan

  • rustfmt --edition 2021 --check src/jump/cmux.rs src/ui/footer.rs src/ui/mod.rs src/ui/sessions.rs
  • cargo test
  • cargo clippy -- -D warnings
  • cargo build
  • cargo run -- --once
  • Live PTY check: selected a cmux session, pressed Enter, verified cmux selected the target tab and focused terminal IDs; moved selection with Down and verified clean repainting.

@graykode graykode merged commit 374ac3b into main Jul 7, 2026
7 checks passed
@graykode graykode deleted the fix/cmux-jump-rendering branch July 7, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant