added command response and more keys (esc, del)