From 453eb5793ddc76b3e01bcfbe764e5d849a4b4504 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 30 May 2012 05:32:05 -0400 Subject: [PATCH] copy PRIMARY after next/previous search match too --- termite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/termite.c b/termite.c index 52f2447..c47810c 100644 --- a/termite.c +++ b/termite.c @@ -85,9 +85,11 @@ static gboolean key_press_cb(GtkWidget *vte, GdkEventKey *event, search_dialog_i return TRUE; case GDK_p: vte_terminal_search_find_previous(VTE_TERMINAL(vte)); + vte_terminal_copy_primary(vte); return TRUE; case GDK_n: vte_terminal_search_find_next(VTE_TERMINAL(vte)); + vte_terminal_copy_primary(vte); return TRUE; case GDK_f: open_search_dialog(vte, false, info);