Rather than use two separate arrays to describe different components which eventually get used with the find-window command, instead store all items that can be used in a struct. --- trunk/cmd-find-window.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/trunk/cmd-find-window.c b/trunk/cmd-find-window.c index 3d9f334..6d01b92 100644 --- a/trunk/cmd-find-window.c +++ b/trunk/cmd-find-window.c @@ -54,6 +54,12 @@ const struct cmd_entry cmd_find_window_entry = { cmd_find_window_exec }; +struct find_window_data { + struct winlink *wl; + char *list_ctx; + u_int pane_id; +}; + u_int cmd_find_window_match_flags(struct args *args) { -- 1.7.11.2 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users