Looking for a solution to submit text entered in a Shiny textarea without using CTRL or CMD? Check out this binding. Pressing return should do the trick, but without adding a newline. A textarea is needed for ample input space without hiding any text.
UPDATE: Currently, the binding works with CTRL-return (or CMD-return). By adjusting lines 18-22 to use only event.keyCode == 13
, the input can be submitted without additional keystrokes. However, it still adds a pesky newline character that we want to avoid.