This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-02-14 19:10:29 +00:00
parent 3cc342f86e
commit 0f598bae5c

View file

@ -335,7 +335,6 @@ class Input(Win):
self.pos += 1 self.pos += 1
if x == self.width-1: if x == self.width-1:
txt = self.text[self.pos-(self.width-1):self.pos] txt = self.text[self.pos-(self.width-1):self.pos]
open('fion', 'w').write(txt)
self.clear_text() self.clear_text()
self.win.addstr(txt) self.win.addstr(txt)
self.win.move(y, self.width-1) self.win.move(y, self.width-1)