Remove trailing whitespaces.
This commit is contained in:
parent
310e2cc347
commit
27b3592e16
1 changed files with 899 additions and 899 deletions
|
|
@ -31,7 +31,7 @@ class StatusBar(Window):
|
|||
self.__parent=parent
|
||||
self.__code=code
|
||||
self.__items=set()
|
||||
|
||||
|
||||
Window.__init__(self, self.__parent, 1, self.__parent.getmaxyx()[1], self.__parent.getmaxyx()[0]-2,0, code=code)
|
||||
|
||||
def __len__(self):
|
||||
|
|
@ -60,11 +60,11 @@ class StatusBar(Window):
|
|||
def clear_text(self):
|
||||
"""Clear the text of the edit box"""
|
||||
del(self.__items[:])
|
||||
|
||||
|
||||
def add_item(self, item):
|
||||
self.__items.add(item)
|
||||
self.update()
|
||||
|
||||
|
||||
def remove_item(self, item):
|
||||
if item in self.__items:
|
||||
self.__items.remove(item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue