Skip to content

[Upstream PR #78] Add tmux pane spawning support #74

@quangdang46

Description

@quangdang46

Mirrored from upstream 1jehuang/jcodePull Request #78 by @watzon
Original state: open
Created: 2026-04-29T16:54:03Z · Updated: 2026-04-29T16:57:07Z
Diff: https://github.com/1jehuang/jcode/pull/78.diff
This issue is an auto-mirrored copy. Comments and edits here are local to quangdang46/jcode — do not expect them to propagate upstream.


Summary

  • Detect tmux as a supported terminal backend for spawning resumed/self-dev/swarm sessions.
  • Spawn tmux sessions as split panes in the current window instead of opening new terminal windows.
  • Keep focus on the current pane and reflow panes into a tiled grid with select-layout tiled.

Validation

  • cargo test -p jcode tmux -- --nocapture
  • selfdev build
  • Live tmux smoke test launching three swarm agents, confirming a 2x2 tiled pane grid and original pane focus retention.
CleanShot 2026-04-29 at 10 56 45

View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions