insert the current completion on return

This commit is contained in:
Daniel Micay 2012-06-05 12:51:23 -04:00
parent 2f75ce63f5
commit 0e9b3a86ce
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ static gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_p
search(VTE_TERMINAL(info->vte), text, true); search(VTE_TERMINAL(info->vte), text, true);
break; break;
case OVERLAY_COMPLETION: case OVERLAY_COMPLETION:
gtk_entry_completion_insert_prefix(gtk_entry_get_completion(entry));
vte_terminal_feed_child(VTE_TERMINAL(info->vte), text, -1); vte_terminal_feed_child(VTE_TERMINAL(info->vte), text, -1);
break; break;
case OVERLAY_HIDDEN: case OVERLAY_HIDDEN: