Hi,
On Thu, Aug 23, 2012 at 01:12:49PM +0900, Vladimir Lomov wrote:
> Hello,
>
> recently new feature was introduced in tmux (SVN), namely interactive
> choose of sessions-windows. I played with it and think it was handy. But
> some time ago (rev. 2854) the way how to choose window was changed. Is
> it difficult/undesired to return to previous behavior?
>
> IMHO, previous version required less typing (10 one-letter symbols now
> vs 36 ones before). Is it a "problem" with "conversion" (10 <-> 36)?
I'm not sure I understand the problem you're describing. I made the change
to always use a numbered prefix for each line rather than 0-9a-z because it
means every line can be referenced. This requires no more typing than is
necessary.
However, there is a bug in choose-tree with resepct to how the window IDs
are referenced, and there's a patch attached here to fix that -- but I am
unsure if this is related to your problem or not.
Nicholas: this fix is buried in one of the other patchsets I've sent to the
list -- I should have made it separate to begin with.
Kindly,
-- Thomas Adam
diff --git a/trunk/cmd-choose-tree.c b/trunk/cmd-choose-tree.c
index 7132017..94698e7 100644
--- a/trunk/cmd-choose-tree.c
+++ b/trunk/cmd-choose-tree.c
@@ -203,7 +203,8 @@ windows_only:
window_choose_add_window(wl->window->active,
ctx, s2, wm, final_win_template,
- final_win_action, idx_ses);
+ final_win_action,
+ (wflag && !sflag) ? win_ses : idx_ses);
free(final_win_action);
}
------------------------------------------------------------------------------
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