fix use of keydown/keyup for search

Signed-off-by: Chris Granger <ibdknox@gmail.com>
set capture to true between each command triggered by the keyboard

Signed-off-by: Chris Granger <ibdknox@gmail.com>