aboutsummaryrefslogtreecommitdiff
path: root/cmd-server-info.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-25 10:11:45 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-25 10:11:45 +0000
commit6fee3e9e4b4c68c5d3d7f333c779ac865af7bf86 (patch)
tree9ea9b10bb53304355591a8c1889fd6e2a04519aa /cmd-server-info.c
parent748acdc77ca11a09e637324946a6a4f189defc8e (diff)
downloadrtmux-6fee3e9e4b4c68c5d3d7f333c779ac865af7bf86.tar.gz
rtmux-6fee3e9e4b4c68c5d3d7f333c779ac865af7bf86.tar.bz2
rtmux-6fee3e9e4b4c68c5d3d7f333c779ac865af7bf86.zip
Rename session idx to session id throughout and add $ prefix to targets
to use it, extended from a diff from George Nachman.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r--cmd-server-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index a26fe705..07b224a1 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -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;