summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2018-09-10 06:48:02 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2018-09-10 06:48:02 +0000
commit0c0644177bf4a9b1cf03d6ee55368e51cc745ae0 (patch)
tree12d32db42d96d2a7422cf9eec8f531452f24c2d9 /usr.bin/tmux
parente201064a067f505bde4aa3c8510947e676a5df0a (diff)
Do not clear selection when searching.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/window-copy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c
index a3ebb8d0cf1..9ddfd9a1a19 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.199 2018/09/03 08:51:43 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.200 2018/09/10 06:48:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1172,7 +1172,6 @@ window_copy_search(struct window_pane *wp, int direction)
window_copy_move_right(s, &fx, &fy);
else
window_copy_move_left(s, &fx, &fy);
- window_copy_clear_selection(wp);
wrapflag = options_get_number(wp->window->options, "wrap-search");
cis = window_copy_is_lowercase(data->searchstr);