diff --git a/src/screen_find.c b/src/screen_find.c
index 2427801274c5cbdb2c32854474689e228ac18cd4..b838421f4f94eadae78b382a7f086ec656f44925 100644 (file)
--- a/src/screen_find.c
+++ b/src/screen_find.c
wrefresh(lw->w);
}
- /* ncmpc should get the command */
- ungetch(key);
-
- command_t cmd;
- if ((cmd=get_keyboard_command()) != CMD_NONE)
- do_input_event(cmd);
-
char *temp = g_strdup(search_str);
g_free(screen.findbuf);
screen.findbuf = temp;
+
+ /* ncmpc should get the command */
+ keyboard_unread(key);
}