This lets enter work from outside because otherwise ctx->curclient is
NULL, yes?

Looks fine and works good for me, go for it.


On Fri, May 21, 2010 at 01:17:59AM -0700, Micah Cowan wrote:
> On 05/20/2010 08:17 PM, Micah Cowan wrote:
> > Okay, I now understand why that is: copy-selection needs to know which
> > session's paste buffers should be affected, and it gets this information
> > from the passed-in instance of "struct client", which of course is NULL
> > for direct shell commands. So I need it to get it the session
> > information from elsewhere; probably the TMUX env var.
> 
> Attached is my patch, against current SF CVS HEAD.
> 
> -- 
> Micah J. Cowan
> http://micah.cowan.name/


> ------------------------------------------------------------------------------
> 

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------

_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to