summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-03-27 13:25:12 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-03-27 13:25:12 +0000
commite7d5ac7a4f352a0a7ae121f37ac7e33f5c8765d2 (patch)
tree6e7fd4b9d649151c88ff8a14046ac88836bf4fbf /usr.bin/tmux
parent007c7950a55ab2bfb83bdd023f072448687a7ad6 (diff)
Fix stop-selection, from Avi Halachmi.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/window-copy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c
index 4bd47155186..4410750d765 100644
--- a/usr.bin/tmux/window-copy.c
+++ b/usr.bin/tmux/window-copy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-copy.c,v 1.213 2019/03/26 21:01:19 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.214 2019/03/27 13:25:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -637,6 +637,7 @@ window_copy_cmd_stop_selection(struct window_copy_cmd_state *cs)
struct window_copy_mode_data *data = wme->data;
data->cursordrag = CURSORDRAG_NONE;
+ data->lineflag = LINE_SEL_NONE;
return (WINDOW_COPY_CMD_NOTHING);
}