thehowl / claws

Awesome WebSocket CLient - an interactive command line client for testing websocket servers
MIT License
298 stars 18 forks source link

Find a way to allow newlines in message #6

Open thehowl opened 7 years ago

thehowl commented 7 years ago

A nice way for this would be to make shift-enter be a newline, and enter a send. And add a hidden setting to make enter a newline, and ctrl-enter a send.

thehowl commented 7 years ago

After some studying, the best way seems to allow newlines using shift-enter. Although this is not supported yet by gocui (jroimartin/gocui#111), so this is on hold. If somebody seriously needs this, comment here and I'm sure we'll find a solution.

thehowl commented 6 years ago

C-n emacs binding to create newline and move to it. Backspacing on the newline removes the newline. Text is wrapped.