From ef80aa5daa3be59c3341760cddcbc4fbc53c313f Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 10 Sep 2018 06:48:01 +0000 Subject: [PATCH] Do not clear selection when searching. --- usr.bin/tmux/window-copy.c | 3 +-- 1 file changed, 1 insertion(+), 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 @@ -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); -- 2.20.1