4 ms·
Fake logs, you can't have newlines in IRC messages!
by FDSGSG 5y ago
Fake logs, you can't have newlines in IRC messages!
- phoe-krk 5y agoInstall irssi! Newlines magically appear on their own, and it's really nice to not need to scroll left/right to read long messages.
- FDSGSG 5y agoShouldn't your terminal handle this even if you were using netcat to chat? If the client was injecting newlines that would end up being rather unpleasant when pasting chats into a different channel.
- phoe-krk 5y agoThat would prevent indenting the messages to the length of the nickname. Irssi performs manual linewrapping to achieve that.
- deleted 5y ago[deleted]
- _flux 5y agoWho uses netcat to chat? Not only it injects newlines, it injects indentation. You can always 1) paste from logs 2) paste from the in-memory rawlog Irssi keeps or 3) use a script like xsel | tr '\t' ' ' | tr '\n' ' ' | sed 's/ */ /g' | tee >(xsel -i) | xsel -ib to your clipboard (yes it uses tr uselessly) Copy-pasteability is not really the goal of apps that use ncurses or similar interfaces. Side-by-side windows break it also.
- Ndymium 5y agoSure you can, CTCP supports sending multiline messages. I even wrote support for them in an IRC lib I made once upon a time. No other client that I know of supports them, though.