You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that I can't find a method to check if there is any sessions running, or tmux server running (for the current socket), without catching a LibTmuxException exception. It will be convenient to check that by telling whether the list is empty or not.
Same goes for sessions and attached_sessions attributes.
It is strange/unexpected to get an exception from common tasks like accessing an attribute or requiring a list of something.
Or, a more direct solution is to add a function to check the availability of the server.