[Lldb-commits] [lldb] r192768 - A couple of small visual improvements for lui
Ben Langmuir
ben.langmuir at intel.com
Tue Oct 15 20:01:05 PDT 2013
Author: benlangmuir
Date: Tue Oct 15 22:01:04 2013
New Revision: 192768
URL: http://llvm.org/viewvc/llvm-project?rev=192768&view=rev
Log:
A couple of small visual improvements for lui
Change titles to white rather than green text to improve readability on blue
background, and use erase() instead of clear() to reduce flicker in the source
window.
Modified:
lldb/trunk/utils/lui/cui.py
Modified: lldb/trunk/utils/lui/cui.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/utils/lui/cui.py?rev=192768&r1=192767&r2=192768&view=diff
==============================================================================
--- lldb/trunk/utils/lui/cui.py (original)
+++ lldb/trunk/utils/lui/cui.py Tue Oct 15 22:01:04 2013
@@ -107,7 +107,7 @@ class ListWin(CursesWin):
elif lastSelected >= self.first_drawn + h:
self.first_drawn = lastSelected - h + 1
- self.win.clear()
+ self.win.erase()
begin = self.first_drawn
end = begin + h
@@ -177,7 +177,7 @@ class CursesUI(object):
self.event_queue = event_queue
curses.start_color()
- curses.init_pair(1, curses.COLOR_GREEN, curses.COLOR_BLUE)
+ curses.init_pair(1, curses.COLOR_WHITE, curses.COLOR_BLUE)
curses.init_pair(2, curses.COLOR_YELLOW, curses.COLOR_BLACK)
curses.init_pair(3, curses.COLOR_RED, curses.COLOR_BLACK)
self.screen.bkgd(curses.color_pair(1))
More information about the lldb-commits
mailing list