Another fix to make other-end forget the selection mode, from Anindya Mukherjee.

This commit is contained in:
nicm 2020-03-20 06:09:19 +00:00
parent 74ed17d41b
commit c3e96cce4e

View File

@ -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);