zigdon / twirssi

An irssi script allowing the use of Twitter from within the IRC client.
http://twirssi.com
133 stars 27 forks source link

multi-line tweets #45

Open gedge opened 12 years ago

gedge commented 12 years ago

To show - and allow the sending of - multi-line tweets.

Currently showing multi-line tweets involves converting their newlines to spaces.

As for sending, perhaps use

/tweet -part  / top line    \
/tweet -part | middle line   |
/tweet -part  \ bottom line /
/tweet -send

Comments?

zigdon commented 12 years ago

Sounds good to me, add a '-clear' to flush... and maybe a '-preview'?

Also, all of these make no sense without a setting to 'twirssi_strip_newlines', bool, defaults to true. And if it's false, we need to make sure we're maintaining the alignment of multiple lines.

gedge commented 12 years ago

and/or a setting for the replacement of the newlines, perhaps 'twirssi_translate_newline' defaulting to ' ' (space) but allowing, say, '\n' for multi-line