commit | acf13ce9784111ca1e42ffc8206e752668476859 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Tue Dec 21 22:37:59 2010 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Tue Dec 21 22:37:59 2010 +0000 |
tree | 49ccd47b2e589a27dab8657d516133205f07f393 | |
parent | 1b8488ee75458c4561089bf056c0e911de958428 [diff] |
Store sessions in an RB tree by name rather than a list, this is tidier and allows them to easily be shown sorted in various lists (list-sessions/choose-sessions). Keep a session index which is used in a couple of places internally but make it an ever-increasing number rather than filling in gaps with new sessions.