I've been playing around with scripting certain actions in copy-mode,
and have run into what I believe to be a bug in recent CVS tmux.
If I run the command:
tmux copy-mode \; send-keys 0 Space e Enter
(which in vi bindings should jump to the start of the line, start
selection, move to the end
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 else
On Thu, May 20, 2010 at 08:17:57PM -0700, 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 she