Do not clear selection when searching.
authornicm <nicm@openbsd.org>
Mon, 10 Sep 2018 06:48:01 +0000 (06:48 +0000)
committernicm <nicm@openbsd.org>
Mon, 10 Sep 2018 06:48:01 +0000 (06:48 +0000)
usr.bin/tmux/window-copy.c

index a3ebb8d..9ddfd9a 100644 (file)
@@ -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);