refs: add keyboiard handler