Currently this plugin works as follows:
If there is only 1 line Shift+Enter will add another.
If there is more lines Shift+Enter will send.
If there is only 1 line Enter will send.
If there is more lines Enter will add lines.
I find this behavior confusing,
and it seems there's a symmetry between those two modes.
I've decided to fix this for myself, by making a small change.
With my Pull request it will work as follows:
Shift+Enter will always add a new line
Enter will always send.
I've also updated README to reflect this change in the explanation.
Currently this plugin works as follows:
I find this behavior confusing,
and it seems there's a symmetry between those two modes.
I've decided to fix this for myself, by making a small change.
With my Pull request it will work as follows:
I've also updated README to reflect this change in the explanation.