Skip to content

fix: 修复 session 名称含空格时 attach 参数解析错误 + 新增 tmuxtui . 命令 - #3

Merged
liuziyuan merged 2 commits into
mainfrom
fix/session-name-escaping
Apr 16, 2026
Merged

fix: 修复 session 名称含空格时 attach 参数解析错误 + 新增 tmuxtui . 命令#3
liuziyuan merged 2 commits into
mainfrom
fix/session-name-escaping

Conversation

@liuziyuan

Copy link
Copy Markdown
Owner

Summary

  • 修复 attachToSession 中未对 session 名称做引号包裹的问题,当名称包含空格(如 RFP - GENAI Skill Platform)时 tmux 报错 too many arguments
  • 新增 tmuxtui . 命令,快速 attach 到当前目录对应的 tmux session
  • 版本号升至 1.3.2

Test plan

  • 验证 tmuxtui . 在含空格的 session 名称下正常工作
  • 验证 tmuxtui . 在 session 不存在时正确提示
  • 验证 tmuxtui . 在普通 session 名称下仍正常工作

🤖 Generated with Claude Code

liu ziyuan and others added 2 commits April 16, 2026 12:29
attachToSession 中未对 session 名称做引号包裹,当名称包含空格
(如 "RFP - GENAI Skill Platform")时 tmux 将空格后内容解析为多余参数。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@liuziyuan
liuziyuan merged commit 07c803f into main Apr 16, 2026
1 check passed
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