Curses.Blinkenlights debugging

Kurt Granroth kurt.offlineimap at granroth.com
Wed Apr 7 04:12:07 BST 2010


On 4/5/10 9:09 PM, Asheesh Laroia wrote:
>> +++ Curses.py 2010-04-05 08:25:51.000000000 -0700
>> --- Curses.py.orig 2010-04-05 08:25:12.000000000 -0700
>> @@ -436,8 +436,6 @@
>> s.hotkeys = []
>> for account in accounts:
>> accountwindow = curses.newwin(1, s.c.width, pos, 0)
>> + color = s.c.getpair(curses.COLOR_WHITE, curses.COLOR_BLACK) |\
>> + curses.A_BOLD
>> + accountwindow.bkgd(' ', color)
>>
>> s.af[account].setwindow(accountwindow, acctkeys[index])
>> s.hotkeys.append(account)
>>
>> Tadah! That actually works. I can see the account status text (lead
>> str) finally!
>>
>> I don't need those lines on an Ubuntu system, though. So why are they
>> needed on my OpenSUSE system?
>
> That one I have no feedback on.

What's notable is that I need the curses.A_BOLD or it still won't show 
up.  That implies that the normal white, this scenario, just won't show 
up on my terminal.  I thought that maybe it's just using the default 
text color and since my default color is black, it didn't show up.  But 
no... I can change the terminal text color to whatever I want and it 
still won't show up without the patch.

Can I take the lack of responses to mean that nobody else sees this? 
Maybe nobody else uses OpenSUSE?





More information about the OfflineIMAP-project mailing list