CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/12/21 15:37:59
Modified files:
usr.bin/tmux : cmd-attach-session.c cmd-choose-session.c
cmd-list-sessions.c cmd-rename-session.c
cmd-server-info.c cmd.c resize.c server-fn.c
server-window.c server.c session.c tmux.h
Log message:
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.