add arrow key bindings for selection

This commit is contained in:
Daniel Micay 2012-07-05 14:34:23 -04:00
parent e667bb9d9d
commit d2e627e10a
1 changed files with 2 additions and 0 deletions

View File

@ -123,10 +123,12 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, search_panel_info *i
gboolean dynamic_title = FALSE, urgent_on_bell = FALSE, clickable_url = FALSE;
if (info->select.mode) {
switch (event->keyval) {
case GDK_KEY_Left:
case GDK_KEY_h:
info->select.end--;
update_selection(vte, &info->select);
break;
case GDK_KEY_Right:
case GDK_KEY_l:
info->select.end++;
update_selection(vte, &info->select);