diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-25 10:11:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-25 10:11:45 +0000 |
commit | 6fee3e9e4b4c68c5d3d7f333c779ac865af7bf86 (patch) | |
tree | 9ea9b10bb53304355591a8c1889fd6e2a04519aa /format.c | |
parent | 748acdc77ca11a09e637324946a6a4f189defc8e (diff) |
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 'format.c')
-rw-r--r-- | format.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -280,6 +280,7 @@ format_session(struct format_tree *ft, struct session *s) format_add(ft, "session_windows", "%u", winlink_count(&s->windows)); format_add(ft, "session_width", "%u", s->sx); format_add(ft, "session_height", "%u", s->sy); + format_add(ft, "session_id", "%u", s->id); sg = session_group_find(s); format_add(ft, "session_grouped", "%d", sg != NULL); |