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-07 10:07:22 +00:00
parent bc3580fa06
commit f47a063841
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;