edit-weechat icon indicating copy to clipboard operation
edit-weechat copied to clipboard

Multiline messages are sent as multiple messages,

Open dschrempf opened this issue 4 years ago • 2 comments

When redacting a message composing multiple lines, each line is sent separately. This has some major issues. Lines can arrive out of order, lines may not arrive at the other end because sending is blocked.

Is there a way to send a multiline message in one go?

EDIT: I know about multipline.pl, but I really prefer this way, like so I can use whatever editor I like best.

dschrempf avatar Aug 03 '21 11:08 dschrempf

I just realized that this is server dependent. I think wee-slack has a multine implementation but weechat-matrix does not. My point: maybe there is no way to fix this on the edit-weechat side. In this case, please close this issue!

dschrempf avatar Aug 03 '21 11:08 dschrempf

Ok so there is actually a way to send multiline messages:

/buffer set input_multiline 1

This makes the buffer send messages as multiline

In normal IRC this ends up showing only the first line, but in matrix this properly sends a multiline message.

If you want to make the change persistent and for all buffers, you have to use the buffer_autoset plugin

Farzat07 avatar May 14 '22 09:05 Farzat07