handle events on enter, update display synchronously, clear input post event.
widen window