zkc icon indicating copy to clipboard operation
zkc copied to clipboard

add multiline messages

Open jrick opened this issue 9 years ago • 1 comments

Making an issue because I think this is something that could be added to improve the multiline paste bugs.

It would be useful to be able to send a multiline message. In zkclient, it should show up as a single message (with your nick only showing once, because it is a single message). After any newlines in the message, some extra spaces should be added to align the next line with the previous:

17:45:05 <jrick> example of what I am talking about
                 this is the next line, aligned with the previous.

By sending this as one message instead of individual messages for each line, the message can't be interrupted by others and should have less encryption overhead.

jrick avatar Dec 09 '16 22:12 jrick

This will require the line to be broken up based on the ASCII size (not to be confused with the message size). So account for the timestamp + nick + escape characters while keeping track of nick and other colorings as well. While this sounds simple it has a lot of corner cases and is easily a day's worth of work.

This is a ttk issue and should be moved over to the correct project.

marcopeereboom avatar Sep 25 '17 15:09 marcopeereboom