diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-07 10:07:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-07 10:07:22 +0000 |
commit | f47a063841f2baa1590fb9e53713b3713a03020d (patch) | |
tree | 8f21004a7ea01ea5c72519e8cd3e44535c57fc45 /format.c | |
parent | bc3580fa066ee38fd752b8414cb72af7bf3861b8 (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); |