Rename session idx to session id throughout and add $ prefix to targets

to use it, extended from a diff from George Nachman.
This commit is contained in:
Nicholas Marriott
2013-03-25 10:11:45 +00:00
parent 748acdc77c
commit 6fee3e9e4b
11 changed files with 47 additions and 25 deletions

View File

@ -859,7 +859,7 @@ window_choose_add_session(struct window_pane *wp, struct client *c,
struct window_choose_data *wcd;
wcd = window_choose_data_create(TREE_SESSION, c, c->session);
wcd->idx = s->idx;
wcd->idx = s->id;
wcd->tree_session = s;
wcd->tree_session->references++;