From c3e96cce4eb0346e31d5c6474a5a59f7c441b7f1 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 20 Mar 2020 06:09:19 +0000 Subject: [PATCH] Another fix to make other-end forget the selection mode, from Anindya Mukherjee. --- window-copy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/window-copy.c b/window-copy.c index abde1c48..aa6c3462 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1361,7 +1361,9 @@ window_copy_cmd_other_end(struct window_copy_cmd_state *cs) { struct window_mode_entry *wme = cs->wme; u_int np = wme->prefix; + struct window_copy_mode_data *data = wme->data; + data->selflag = SEL_CHAR; if ((np % 2) != 0) window_copy_other_end(wme); return (WINDOW_COPY_CMD_NOTHING);