taskWeeChat - Tasks: task #10906, Wrapping long words (ex. urls)...

 
 

task #10906: Wrapping long words (ex. urls) should not indent next line.

Submitter:  Simen Graaten <simeng>
Submitted:  Wed 02 Feb 2011 03:09:23 PM UTC
   
 
Category:  display Should Start On:  Wed 02 Feb 2011 12:00:00 AM UTC
Should be Finished on:  Wed 02 Feb 2011 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Cancelled Privacy:  Public
Assigned to:  flashcode Percent Complete:  0%
Originator Name:  Open/Closed:  Closed
Planned Release:  None IRC nick:  si-m1
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 13 Apr 2014 10:55:57 AM UTC, comment #2: 

In version 0.4.4-dev, you can now enable the bare display (default key: alt+"!"), which is designed to let you click easily on URLs.

For more info: http://dev.weechat.org/post/2014/02/16/Bare-display

Sebastien Helleu <flashcode>
Group administrator
Mon 31 Oct 2011 10:55:10 PM UTC, comment #1: 

This can be achieved with two commands:
 /set weechat.look.align_end_of_lines time
 /set weechat.look.eat_newline_glitch on

The first one makes sure the rest of the url starts at the beginning of the line, and the second one (available since 0.3.6) makes sure there is no \n so that you can copy/paste easily.

This is also going to affect short words, though.

Quentin Pradet <cygal>
Wed 02 Feb 2011 03:09:23 PM UTC, original submission:  

When text wrap code cannot find a space (" ") to wrap the text, and have to split a word/url in half it shouldn't indent the next line. This way the terminal text selection will follow the word to the next line.

Example:

Instead of:

 .-------------------------------------------------.
| xterm                                         [X] |
|---------------------------------------------------|
|15:54 <@si-m1> check out this awesome IRC client   |
|               everyone!                           |
|15:57 <@si-m1> http://weechat.org/files/ubuntu/mave|
|               rick/0.3.4/amd64/weechat-core_0.3.4-|
|               1_amd64.deb                         |
|                                                   |
|[15:59] 3 [irc/irc.freenode.net] [Act: 10,9,7,11,++|
|[si-m1] _                                          |
'---------------------------------------------------'

Wrap as following:
 .-------------------------------------------------.
| xterm                                         [X] |
|---------------------------------------------------|
|15:54 <@si-m1> check out this awesome IRC client   |
|               everyone!                           |
|15:57 <@si-m1> http://weechat.org/files/ubuntu/mave|
|rick/0.3.4/amd64/weechat-core_0.3.4-1_amd64.deb    |
|                                                   |
|[15:59] 3 [irc/irc.freenode.net] [Act: 10,9,7,11,++|
|[si-m1] _                                          |
'---------------------------------------------------'

This will not look as nice, but it will make the url selection and detection work correctly in the terminal.


Simen Graaten <simeng>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #22587:  example.txt added by simeng (2KiB - text/plain - Non-stripped monospace-viewable version of ascii-example)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by cygal (Posted a comment)
  • -email is unavailable- added by simeng (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-13 flashcode Assigned toNone flashcode
        Open/ClosedOpen Closed
    2014-04-13 flashcode StatusNone Cancelled
    2011-02-02 simeng Attached File- Added example.txt, #22587

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code