Clean current line in screen before adding text of selected option in comboBox

This commit is contained in:
Manuel Cortez 2017-02-27 16:08:06 -06:00
parent 2327a7c96d
commit 9cd477a8b8

View File

@ -121,6 +121,7 @@ class comboBox(GuiObject):
def draw(self):
s = " "+self.prompt
self.screen.clrtoeol()
self.screen.addstr(self.y, self.x, s)
self.screen.refresh()