---
created: 2026-04-13T04:28:46.570Z
title: Capsule psmux use winname flag for repo/branch
area: capsule
milestone: v1.9
files: []
---

## Problem

The psmux invocation in capsule doesn't set a window name, making it harder to identify which session belongs to which repo/branch when multiple capsule sessions are active.

## Solution

Use the `-n <winname>` flag when invoking psmux, with `{repository name}/{branch name}` as the winname argument. This gives each session a human-readable identifier tied to the repo and branch context.
