mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Another fix to make other-end forget the selection mode, from Anindya Mukherjee.
This commit is contained in:
parent
74ed17d41b
commit
c3e96cce4e
@ -1361,7 +1361,9 @@ window_copy_cmd_other_end(struct window_copy_cmd_state *cs)
|
|||||||
{
|
{
|
||||||
struct window_mode_entry *wme = cs->wme;
|
struct window_mode_entry *wme = cs->wme;
|
||||||
u_int np = wme->prefix;
|
u_int np = wme->prefix;
|
||||||
|
struct window_copy_mode_data *data = wme->data;
|
||||||
|
|
||||||
|
data->selflag = SEL_CHAR;
|
||||||
if ((np % 2) != 0)
|
if ((np % 2) != 0)
|
||||||
window_copy_other_end(wme);
|
window_copy_other_end(wme);
|
||||||
return (WINDOW_COPY_CMD_NOTHING);
|
return (WINDOW_COPY_CMD_NOTHING);
|
||||||
|
Loading…
Reference in New Issue
Block a user