[feat] allow submitting input with enter key