Changes Enter key behavior in Kagi assistant to submit message only on Ctrl + Enter
Ctrl + Enter to submitBy default Kagi Assistant submits a message with Enter and uses Shift + Enter for a newline. This script intercepts the submit event on the main form and only submits when Ctrl + Enter is pressed.
The keymaps are:
Enter: New LineShift + Enter: New LineCtrl + Enter: Submit