diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-01-31 12:01:43 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-01-31 12:01:43 +0000 |
commit | 2ee0d851d92c00c13998c112618feb84df323ad2 (patch) | |
tree | 926ca8c1888921a00edc20a78f954fa60117e1f2 /format.c | |
parent | c08a532440a5aeeed58ce10b8e4ac9a409555ea7 (diff) | |
download | rtmux-2ee0d851d92c00c13998c112618feb84df323ad2.tar.gz rtmux-2ee0d851d92c00c13998c112618feb84df323ad2.tar.bz2 rtmux-2ee0d851d92c00c13998c112618feb84df323ad2.zip |
Sync OpenBSD patchset 1017:
Give each window a unique id, like panes but prefixed with @. Based on
work from George Nachman.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -341,6 +341,7 @@ format_winlink(struct format_tree *ft, struct session *s, struct winlink *wl) layout = layout_dump(w); flags = window_printable_flags(s, wl); + format_add(ft, "window_id", "@%u", w->id); format_add(ft, "window_index", "%d", wl->idx); format_add(ft, "window_name", "%s", w->name); format_add(ft, "window_width", "%u", w->sx); |