Changed keypress event to keydown to enable typing when deleting text
Improved typing indicator