Skip to content

Commit 5f4e228

Browse files
committed
fix: trying to create a session that already exists
Fixes #46 When hiding the attached tmux session, sesh will try and make a new session because it isn't aware of it. I'm adding this back for now and we will address hiding the attached issue as a CLI flag later.
1 parent 8623bb7 commit 5f4e228

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tmux/list.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ func processSessions(sessionList []string) []*TmuxSession {
109109
if len(fields) != 21 {
110110
continue
111111
}
112-
if fields[2] == "1" {
113-
continue
114-
}
115112

116113
session := &TmuxSession{
117114
Activity: convert.StringToTime(fields[0]),

0 commit comments

Comments
 (0)