weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [task #10906] Wrapping long words (ex. urls) should not in


From: Simen Graaten
Subject: [Weechat-dev] [task #10906] Wrapping long words (ex. urls) should not indent next line.
Date: Wed, 02 Feb 2011 15:09:24 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10) Gecko/20100101 Firefox/4.0b10

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]