commit | 4f5c5b37b866967be189901bc140ca6b8c25c5e3 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Sun May 23 19:42:19 2010 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Sun May 23 19:42:19 2010 +0000 |
tree | ea5b685be2f69f30fc18872caefc0024e2574c7a | |
parent | 0ed727a0128dd84ae727a337208a31df8f3cff02 [diff] |
Pass in the session, rather than the client, to window modes' key() function. We were only ever using the client to find the session anyway. This allows send-key to work properly for manipulating copy mode from outside tmux. From Micah Cowan.