Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
core: add option weechat.look.prefix_unalign_multiline_words #411
This solves the multi-line URL copying issue that has kept me from migrating to WeeChat from Irssi. It brings infinite and glorious convenience to every user who isn't a fan of vertical splits!
The point of this is that you can use weechat.look.align_end_of_lines = message to get nice formatting, but words that wrap to multiple lines are formatted like weechat.look.align_end_of_lines = time. This allows long URLs to be clicked and the full word to be conveniently copy-pasted.
You may still need weechat.look.eat_newline_glitch = on, depending on how and which terminal you use.
Works with both, weechat.look.prefix_align = none and right. Most of the code is about coping with the slight complexities of the latter.
Works with vertical splits too, with limited usefulness.
For reference, this explains the previously available options for viewing long words as continuous text (that are not sufficient for me and some other users): https://weechat.org/files/doc/weechat_faq.en.html#urls