[Top][All Lists]

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

[Weechat-dev] [bug #31932] hook_modifier(weechat_print) does not discard

From: Sebastien Helleu
Subject: [Weechat-dev] [bug #31932] hook_modifier(weechat_print) does not discard each message if you return empty string
Date: Tue, 28 Dec 2010 13:30:26 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20101203 Firefox/3.6.13

Follow-up Comment #3, bug #31932 (project weechat):

I understand problem now. It happens with /help because this command prints
some empty lines. When your modifier returns same string as given string, it
will be considered as "non modified" (even if it's empty string). That
explains why empty lines can't be removed.

Only way to fix that would be a string with special value to remove it from
display, but which value? It should be something not used in strings (for
example string with one char, like "x01" ?) Do you have better suggestions?


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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