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

Allow entering new line using software keyboard #524

Open
oakkitten opened this issue Jul 13, 2021 · 4 comments
Open

Allow entering new line using software keyboard #524

oakkitten opened this issue Jul 13, 2021 · 4 comments

Comments

@oakkitten
Copy link
Collaborator

we are using the action button to send messages. it seems that our behavior is unconventional and other apps (WhatsApp, Telegram) use it to input new line. i think it would be reasonable to have an option to choose either behavior

@bqv
Copy link

bqv commented Jul 14, 2021

Unfortunatedy im nowhere near proficient in android to delve into this codebase, but this would be lovely to have. XMPP supports newlines in messages but i can only input them via paste :p

@oakkitten
Copy link
Collaborator Author

correct me if i'm wrong; the protocol does not allow us sending multiline messages. the outgoing messages are in the format input 0x12345 text here\n and there's no way to encode a newline here. (or maybe there is?) whenever we have several lines in the input field, they are sent as separate inputs. so this will only allow entering newlines into the input field, not sending them as a single message. although i suppose a script/plugin can be smart enough to notice that a bunch of lines have arrived faster than it's possible to type them.

@bqv
Copy link

bqv commented Jul 21, 2021

Im not entirely sure on the protocol, but yes it seems you're right. It's my experience that i can send multiline messages, but the app just loops through sending the lines. It is still helpful, as it ensures nobody can interrupt in the middle of your text

@jiggie42
Copy link

jiggie42 commented Jul 5, 2022

weechat itself doesn't support this does it?
https://ircv3.net/specs/extensions/multiline
This is a work-in-progress specification.

I'm imagining a possible multiline editor, in order to send multiple lines at once . That might be nice to have..

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

No branches or pull requests

3 participants