add keydown support to be added in coffe