hij1nx/cdir — pull request #10 by st-luke (2012-04-25 20:24:52+00:00)
Title: Using arrow keys in search mode will throw a type error

I noticed this while playing around with search mode earlier. Making sure chunk is not undefined resolves the problem.