Skip to content

Commit

Permalink
disable exiting if name wasn't provided for new session
Browse files Browse the repository at this point in the history
  • Loading branch information
verte-zerg committed Sep 8, 2024
1 parent ad17d29 commit 21af448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ func (tui *TUI) handleCommand(mode string, selectedSession *Session, query strin
if query != "" {
createTmuxSession(query, tui.directory)
switchTmuxSession(query)
os.Exit(0)
}
os.Exit(0)
default:
fmt.Println("Unknown command")
}
Expand Down

0 comments on commit 21af448

Please sign in to comment.