handle enter key; copy, eval placeholders