edit: support wide char key event