weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [bug #36999] Colors are fubarred


From: Sebastien Helleu
Subject: [Weechat-dev] [bug #36999] Colors are fubarred
Date: Fri, 17 Aug 2012 09:14:03 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1

Update of bug #36999 (project weechat):

                  Status:               Need Info => Fixed                  

    _______________________________________________________

Follow-up Comment #4:

Finally fixed the bug in WeeChat.
For me the problem is still in ncurses (pair not set by wattr_set), but I
added another call in WeeChat to force the restore of color (wcolor_set).

Old code was:


wattr_set (GUI_WINDOW_OBJECTS(window)->win_chat, attrs, pair, NULL);


New code is:


wattr_set (GUI_WINDOW_OBJECTS(window)->win_chat, attrs, pair, NULL);
wcolor_set (GUI_WINDOW_OBJECTS(window)->win_chat, pair, NULL);


The call to wcolor_set should not be needed, but at least it fixes the problem
under FreeBSD.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36999>

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




reply via email to

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