corrige un bug pourri du resize

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-02-11 13:10:22 +00:00
parent e6d1b3f1fe
commit fa58dce0f8

View file

@ -219,8 +219,6 @@ class Input(Win):
if not visible: if not visible:
return return
self._resize(height, width, y, x, stdscr) self._resize(height, width, y, x, stdscr)
self.input = curses.textpad.Textbox(self.win)
self.input.insert_mode = True
self.win.clear() self.win.clear()
self.win.addnstr(0, 0, self.text.encode('utf-8'), self.width-1) self.win.addnstr(0, 0, self.text.encode('utf-8'), self.width-1)