{"action":"closed","issue":{"url":"https://api.github.com/repos/tmux/tmux/issues/346","repository_url":"https://api.github.com/repos/tmux/tmux","labels_url":"https://api.github.com/repos/tmux/tmux/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/tmux/tmux/issues/346/comments","events_url":"https://api.github.com/repos/tmux/tmux/issues/346/events","html_url":"https://github.com/tmux/tmux/issues/346","id":143217068,"number":346,"title":"Problem distinguishing between sessions named '1' and '10'","user":{"login":"fawind","id":7422050,"avatar_url":"https://avatars.githubusercontent.com/u/7422050?v=3","gravatar_id":"","url":"https://api.github.com/users/fawind","html_url":"https://github.com/fawind","followers_url":"https://api.github.com/users/fawind/followers","following_url":"https://api.github.com/users/fawind/following{/other_user}","gists_url":"https://api.github.com/users/fawind/gists{/gist_id}","starred_url":"https://api.github.com/users/fawind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fawind/subscriptions","organizations_url":"https://api.github.com/users/fawind/orgs","repos_url":"https://api.github.com/users/fawind/repos","events_url":"https://api.github.com/users/fawind/events{/privacy}","received_events_url":"https://api.github.com/users/fawind/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T11:03:34Z","updated_at":"2016-03-24T11:06:22Z","closed_at":"2016-03-24T11:06:22Z","body":"I have a session named '10' (and no session named '1'). The command `tmux has-session -t 1` returns true. In addition to this `tmux switch-client -t 1` switches to session 10.\r\n\r\nThis only happens if session '1' does not exist. Trying the same thing with an existing session '1' and a missing session '10' works fine.\r\n\r\nI am using tmux 2.1."}}