Moves screen to the 0 position before cleaning
This commit is contained in:
parent
9cd477a8b8
commit
0158772670
@ -121,7 +121,9 @@ class comboBox(GuiObject):
|
||||
|
||||
def draw(self):
|
||||
s = " "+self.prompt
|
||||
self.screen.move(self.y, 0)
|
||||
self.screen.clrtoeol()
|
||||
|
||||
self.screen.addstr(self.y, self.x, s)
|
||||
self.screen.refresh()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user