URL:
  <http://savannah.nongnu.org/task/?10906>

                 Summary: Wrapping long words (ex. urls) should not indent
next line.
                 Project: WeeChat
            Submitted by: simeng
            Submitted on: Wed 02 Feb 2011 03:09:23 PM GMT
                Category: display
         Should Start On: Wed 02 Feb 2011 12:00:00 AM GMT
   Should be Finished on: Wed 02 Feb 2011 12:00:00 AM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: si-m1

    _______________________________________________________

Details:

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.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10906>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to