From 2ee0d851d92c00c13998c112618feb84df323ad2 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 31 Jan 2012 12:01:43 +0000 Subject: Sync OpenBSD patchset 1017: Give each window a unique id, like panes but prefixed with @. Based on work from George Nachman. --- format.c | 1 + 1 file changed, 1 insertion(+) (limited to 'format.c') diff --git a/format.c b/format.c index 713c9528..af675ce5 100644 --- a/format.c +++ b/format.c @@ -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); -- cgit