From 3559fe9aeecaeb953505f9c4023d134d7bb9e185 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Mon, 22 Dec 2025 14:14:11 -0800 Subject: [PATCH] fix(refinery): Use TTY-forwarding attach for refinery sessions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- internal/cmd/refinery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/refinery.go b/internal/cmd/refinery.go index dca7600a..70ab240f 100644 --- a/internal/cmd/refinery.go +++ b/internal/cmd/refinery.go @@ -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) }