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

@ -102,7 +102,7 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_q *cmdq)
*strchr(tim, '\n') = '\0';
cmdq_print(cmdq, "%2u: %s: %u windows (created %s) [%ux%u] "
"[flags=0x%x]", s->idx, s->name,
"[flags=0x%x]", s->id, s->name,
winlink_count(&s->windows), tim, s->sx, s->sy, s->flags);
RB_FOREACH(wl, winlinks, &s->windows) {
w = wl->window;