Hi, This has been mentioned a few times, and since it's a rainy afternoon, I shoved this together. It's not that exciting. :P
The three patches should be self-explanatory. The first two are code-cleanups to remove the reliance on two arrays and instead to use one array, holding a struct instead. The last patch introduces the implicit select-pane of the matched item. Currently, we state which pane has the matched data, but selecting that window won't have selected the pane with that data. I haven't made this optional. I can if necessary, I am not sure how much of an impact this is going to have, and figured it was easier to just do the pane selection. Even if this isn't desired behaviour, the first two patches might be useful as simple code-cleanups. Kindly, -- Thomas Adam Thomas Adam (3): Introduce struct find_window_data Switch find-window internally to use struct data Select pane for find-window match trunk/cmd-find-window.c | 60 +++++++++++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 24 deletions(-) -- 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