Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multiline messages #26

Open
jrick opened this issue Dec 9, 2016 · 1 comment
Open

add multiline messages #26

jrick opened this issue Dec 9, 2016 · 1 comment

Comments

@jrick
Copy link
Member

jrick commented Dec 9, 2016

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.

@marcopeereboom
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants