artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0e5e7
)
Reset line flag when clearing selection, GitHub issue 1454.
author
nicm
<nicm@openbsd.org>
Wed, 29 Aug 2018 18:54:23 +0000
(18:54 +0000)
committer
nicm
<nicm@openbsd.org>
Wed, 29 Aug 2018 18:54:23 +0000
(18:54 +0000)
usr.bin/tmux/window-copy.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/window-copy.c
b/usr.bin/tmux/window-copy.c
index
cd3ee1c
..
c3e99d5
100644
(file)
--- a/
usr.bin/tmux/window-copy.c
+++ b/
usr.bin/tmux/window-copy.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: window-copy.c,v 1.19
6 2018/08/23 15:45:05
nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.19
7 2018/08/29 18:54:23
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-1810,6
+1810,7
@@
window_copy_clear_selection(struct window_pane *wp)
screen_clear_selection(&data->screen);
data->cursordrag = CURSORDRAG_NONE;
+ data->lineflag = LINE_SEL_NONE;
py = screen_hsize(data->backing) + data->cy - data->oy;
px = window_copy_find_length(wp, py);