跳到正文
Hacker News · AI 与工程·· 2026-10-19AI 评分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
来源记录时间
本站首次收录