edit clear typed string after key down or up