List Info

Thread: Curses.Blinkenlights status character




Curses.Blinkenlights status character
user name
2006-08-20 00:35:38
I find it difficult to see what color the different dots (.)
are in the
Curses.Blinkenlights, even though my vision is good.  The
attached patch
changes it to use an asterisk (*) instead, making it easier
to see.
I've been chaning this locally for some time, finally got
around to
submitting a patch.


-- Attached file included as plaintext by Ecartis --

diff -urx '*.pyc'
offlineimap-4.0.14.qqx1/offlineimap/ui/Curses.py
offlineimap-4.0.14.qqx2/offlineimap/ui/Curses.py
---
offlineimap-4.0.14.qqx1/offlineimap/ui/Curses.py	2006-08-11
18:12:39.000000000 -0500
+++
offlineimap-4.0.14.qqx2/offlineimap/ui/Curses.py	2006-08-19
19:24:47.835833954 -0500
 -212,7
+212,7 
             if self.getcolor() == 'black':
                 self.window.addstr(self.y, self.x, ' ',
self.color)
             else:
-                self.window.addstr(self.y, self.x, '.',
self.color)
+                self.window.addstr(self.y, self.x, '*',
self.color)
             self.c.stdscr.move(self.c.height - 1,
self.c.width - 1)
             self.window.refresh()
         self.c.locked(lockedstuff)



Curses.Blinkenlights status character
user name
2006-08-21 20:19:18
On Sat, Aug 19, 2006 at 07:35:38PM -0500, Aaron Schrab
wrote:
> I find it difficult to see what color the different
dots (.) are in the
> Curses.Blinkenlights, even though my vision is good. 
The attached patch
> changes it to use an asterisk (*) instead, making it
easier to see.
> I've been chaning this locally for some time, finally
got around to
> submitting a patch.

Since this is a personal preference thing, I have not
applied this
patch.  Every person may want a different behavior here.

However, I would be happy to apply a patch that introduces
and documents
(in the example .conf file) a configuration file parameter
to set the
character, defaulting to the old value.

-- John


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )