keypress in websocket are ready