diff options
Diffstat (limited to 'src/callback.c')
-rw-r--r-- | src/callback.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/callback.c b/src/callback.c index ebbf2d36..e62a435c 100644 --- a/src/callback.c +++ b/src/callback.c @@ -116,12 +116,15 @@ callback_entry_key_press(GtkWidget* entry, GdkEventKey *e) else if (mode & COMPLETION_MODE && !DWB_COMPLETE_KEY(e) && !e->is_modifier && !CLEAN_STATE(e)) completion_clean_completion(set_text); else if (mode == FIND_MODE) - return false; + { + goto skip; + } else if (DWB_COMPLETE_KEY(e)) { completion_complete(dwb_eval_completion_type(), e->state & GDK_SHIFT_MASK || e->keyval == GDK_KEY_Up); return true; } +skip: if (dwb_eval_override_key(e, CP_OVERRIDE_ENTRY)) ret = true; return ret; |