taskWeeChat - Tasks: task #11197, Make (align) cut-off indicator (+)...


task #11197: Make (align) cut-off indicator (+) configurable

Submitter:  Filip H.F. "FiXato" Slagter <fixato>
Submitted:  Wed 15 Jun 2011 01:50:47 PM UTC
Category:  display Should Start On:  Wed 15 Jun 2011 12:00:00 AM UTC
Should be Finished on:  Wed 15 Jun 2011 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Percent Complete:  100%
Originator Name:  Open/Closed:  Closed
Planned Release:  0.3.8 IRC nick:  FiXato
* Mandatory Fields

Add a New Comment Rich Markup

Sat 07 Apr 2012 05:56:26 PM UTC, comment #3: 

I'll keep that in mind and try to apply the "<" and ">" outside nick, and just cut the nick, not these chars (in near future).

Sebastien Helleu <flashcode>
Group administrator
Sat 07 Apr 2012 05:22:10 PM UTC, comment #2: 

Hmm.. as my current terminal doesn't allow for setting the word selection range, this solution still doesn't really solve it for me and I guess I'll just have to set it to a space again..

If I can be honest, I guess it would've made more sense if the cut-off had worked more like this:

<@Steve_Restless> http://i.imgur.com/k1RB5.jpg

(Making it impossible to click-select the URL)

Personal preference:
<@Steve_Res…> http://i.imgur.com/k1RB5.jpg

(in other words, keeping the suffix, and applying the more indicator before the suffix and keeping the alignment separated by a space; even though that means losing 2 more characters.)

But yeah, I guess that's a personal preference and maybe I should make my own theming script if I want it like that ;-)

Filip H.F. "FiXato" Slagter <fixato>
Sat 07 Apr 2012 04:49:59 PM UTC, comment #1: 

Done: options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more have been converted from boolean to string, with one restriction: the string must be exactly one char wide on screen (multi-chars not allowed), so it could be one space, "+" or any char (even wide char) with length of one char on screen, example: "…".

Sebastien Helleu <flashcode>
Group administrator
Wed 15 Jun 2011 01:50:47 PM UTC, original submission:  

Currently when a nickname is longer than weechat.look.prefix_align_max, it gets cut off and a + indicator is placed to indicate the cut-off. However, having just a + sign makes it harder to select text directly following the nickname, since it will include the cut-off nickname and the plus sign.

It would be nice if the string that gets appended to the cut-off nickname is configurable, so I could include a space with it for instance (or change it into a character that falls outside my terminal's word selection range). This would improve usability, and theming support.

Apart from the nickname cut-off, it would also be nice if this could apply to the merged buffer name (weechat.look.prefix_buffer_align_max).

Thanks in advance. :)

Filip H.F. "FiXato" Slagter <fixato>


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

Attach Files:

No files currently attached


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 fixato (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-03 flashcode Open/ClosedOpen Closed
    2012-04-07 flashcode StatusNone Done
        Percent Complete0% 100%
        Assigned toNone flashcode
        Planned ReleaseNone 0.3.8

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code