added: when keypressed in output area place at cursor and accept