copy PRIMARY after next/previous search match too

This commit is contained in:
Daniel Micay 2012-05-30 05:32:05 -04:00
parent ca02e5adb3
commit 453eb5793d
1 changed files with 2 additions and 0 deletions

View File

@ -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);