[control-code] [fix] bind keypress