feat(03-02): display WaitType in vmux list for sessions awaiting input
- Show "Needs Input: permission" or "Needs Input: question" when WaitType set - No WaitType shown for Working state or when WaitType empty - No regression on existing display tests Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -64,7 +64,11 @@ func DisplaySessionInfos(w io.Writer, sessions []SessionInfo, noColor bool, now
|
|||||||
fmt.Fprintln(w)
|
fmt.Fprintln(w)
|
||||||
}
|
}
|
||||||
|
|
||||||
stateStr := stateColorStr(s.State, noColor) + s.State + resetIfColor(noColor)
|
stateDisplay := s.State
|
||||||
|
if s.State == "Needs Input" && s.WaitType != "" {
|
||||||
|
stateDisplay = s.State + ": " + s.WaitType
|
||||||
|
}
|
||||||
|
stateStr := stateColorStr(s.State, noColor) + stateDisplay + resetIfColor(noColor)
|
||||||
|
|
||||||
branch := ""
|
branch := ""
|
||||||
if s.GitBranch != "" {
|
if s.GitBranch != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user