Simply attach an enter key handler.