Clean current line in screen before adding text of selected option in comboBox
This commit is contained in:
parent
2327a7c96d
commit
9cd477a8b8
@ -121,6 +121,7 @@ class comboBox(GuiObject):
|
|||||||
|
|
||||||
def draw(self):
|
def draw(self):
|
||||||
s = " "+self.prompt
|
s = " "+self.prompt
|
||||||
|
self.screen.clrtoeol()
|
||||||
self.screen.addstr(self.y, self.x, s)
|
self.screen.addstr(self.y, self.x, s)
|
||||||
self.screen.refresh()
|
self.screen.refresh()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user