Remove superfluous trailing white space from Python files
This commit is contained in:
@@ -52,7 +52,7 @@ class Screen(CursesStdIO):
|
||||
self.redisplayLines()
|
||||
|
||||
def redisplayLines(self):
|
||||
""" method for redisplaying lines
|
||||
""" method for redisplaying lines
|
||||
based on internal list of lines """
|
||||
|
||||
self.stdscr.clear()
|
||||
@@ -60,7 +60,7 @@ class Screen(CursesStdIO):
|
||||
i = 0
|
||||
index = len(self.lines) - 1
|
||||
while i < (self.rows - 3) and index >= 0:
|
||||
self.stdscr.addstr(self.rows - 3 - i, 0, self.lines[index],
|
||||
self.stdscr.addstr(self.rows - 3 - i, 0, self.lines[index],
|
||||
curses.color_pair(2))
|
||||
i = i + 1
|
||||
index = index - 1
|
||||
@@ -68,7 +68,7 @@ class Screen(CursesStdIO):
|
||||
|
||||
def paintStatus(self, text):
|
||||
if len(text) > self.cols: raise TextTooLongError
|
||||
self.stdscr.addstr(self.rows-2,0,text + ' ' * (self.cols-len(text)),
|
||||
self.stdscr.addstr(self.rows-2,0,text + ' ' * (self.cols-len(text)),
|
||||
curses.color_pair(1))
|
||||
# move cursor to input line
|
||||
self.stdscr.move(self.rows-1, self.cols-1)
|
||||
@@ -106,7 +106,7 @@ class Screen(CursesStdIO):
|
||||
return
|
||||
self.searchText = self.searchText + chr(c)
|
||||
|
||||
self.stdscr.addstr(self.rows-1, 0,
|
||||
self.stdscr.addstr(self.rows-1, 0,
|
||||
self.searchText + (' ' * (
|
||||
self.cols-len(self.searchText)-2)))
|
||||
self.stdscr.move(self.rows-1, len(self.searchText))
|
||||
|
||||
Reference in New Issue
Block a user