fix use of keydown/keyup for search

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