mirror of
https://github.com/tmux/tmux.git
synced 2025-10-17 23:31:48 +00:00
No need to repeat other-end more than once, from Juho Pohjala. Also add
it to the commands list while here.
This commit is contained in:
@@ -429,7 +429,7 @@ window_copy_key(struct window_pane *wp, struct session *sess, int key)
|
||||
window_pane_reset_mode(wp);
|
||||
return;
|
||||
case MODEKEYCOPY_OTHEREND:
|
||||
for (; np != 0; np--)
|
||||
if (np % 2)
|
||||
window_copy_other_end(wp);
|
||||
break;
|
||||
case MODEKEYCOPY_LEFT:
|
||||
|
Reference in New Issue
Block a user