fix(refinery): Use TTY-forwarding attach for refinery sessions

Use attachToTmuxSession helper instead of tmux.AttachSession to properly
forward stdin/stdout/stderr when attaching.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-22 14:14:11 -08:00
parent bcaa55e09a
commit 3559fe9aee

View File

@@ -380,6 +380,6 @@ func runRefineryAttach(cmd *cobra.Command, args []string) error {
fmt.Printf("%s Refinery started\n", style.Bold.Render("✓"))
}
// Attach to the session
return t.AttachSession(sessionID)
// Attach to session using exec to properly forward TTY
return attachToTmuxSession(sessionID)
}