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

@ -39,7 +39,7 @@ server_fill_environ(struct session *s, struct environ *env)
term = options_get_string(&s->options, "default-terminal");
environ_set(env, "TERM", term);
idx = s->idx;
idx = s->id;
} else
idx = -1;
pid = getpid();