Hacker News · AI 与工程·· 4 小时前AI 评分38
用 tmux 管理 Claude Code 会话:send-keys、capture-pane 与内置 --worktree --tmux 的边界
Tmux and Claude Code: Sessions, Send-Keys, and the Ceiling
AI 导读
Claude Code 新版本支持用 `claude --worktree --tmux` 一条命令同时创建 git worktree 和 tmux 会话,但 `--tmux` 必须配合 `--worktree`,且在 iTerm2 上默认使用原生分屏而非 tmux。
来源:Hacker News · AI 与工程 · crystl.dev