support typing and entering text

Distinguish between typing and entering text. Former just loads text
into a field.  Later does same followed by enter key press.