-
Notifications
You must be signed in to change notification settings - Fork 66
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
Extend newline support #105
Comments
Hey 👋 Messer 0.5.2 has just been published, and this issue was fixed! Install it and give it a whirl 🤘. If you’re still experiencing this issue, please comment below with your symptoms and we'll keep the ticket open. Thanks for supporting Messer 💬 |
Unfortunately still the same in version 0.5.2. Still only sends the first line. |
this works for me messer --command='m "Tom Quirk" hey\ntom' |
Okay, newlines of that style work. Thanks. |
ah sorry, didn't properly read your usecase. I'm happy to add that, but will come out in a future release |
That's fine. I appreciate the work. |
Updated issue
We support
\n
in message bodies, but we want to extend this to support\\n
as well. It's simply a case of replacing\\n
with the linebreak char facebook wants.Original issue
First of all, if this is considered a feature request rather than a bug/issue, I apologise.
I'm attempting to send a message with newlines inside it, by using a variable as the message. Instead, messer only sends the first line.
Below, we set the message variable, and echo it back to ensure it's correct:
The echo confirms that we've added new lines correctly. So, we should be able to send that via messer:
Naturally, I'd expect the received message to read:
but instead, I receive just the first line:
I'd rather be able to break up the message into lines rather than have it all bulked together, or have the hassle of lines being received separately, usually in the wrong order.
The text was updated successfully, but these errors were encountered: