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

Pasting a multiline string from the clipboard causes the message buffer to automatically submit to the server #35

Open
gbakeman opened this issue Jul 2, 2023 · 3 comments

Comments

@gbakeman
Copy link

gbakeman commented Jul 2, 2023

IceChat 9.53

I've just accidentally discovered that if I paste a multiline string into my chat buffer, it will automatically be sent to the server. It would be nice new line characters are ignored or escaped to help prevent these unintentional submissions.

Thanks for your work on this!

@icechat
Copy link
Owner

icechat commented Jul 2, 2023

Use the Multiline Edit Box to prevent this. It is an option under the View Menu.

@gbakeman
Copy link
Author

gbakeman commented Jul 2, 2023

Fair enough, I'll check it out. I was hoping that default behavior of the single line box would be something like notifying the user of the problem (by way of a system sound, notification bubble, etc.) or just accept the text input and strip out the newlines. It was somewhat unexpected (and inconveinent for the channel members) for the accidental multiline paste to go straight to the server. Would it make sense to change this default behavior?

@icechat
Copy link
Owner

icechat commented Jul 2, 2023

I do not think so. This is why the multiline edit box was made as an option.

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