From 17ebb92ece4dc7b45b816bac660fed6ade9db0e7 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 17 Oct 2010 12:43:56 +0000 Subject: yet better refresh --- src/window.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/window.py') diff --git a/src/window.py b/src/window.py index 64db72ae..c8a05625 100644 --- a/src/window.py +++ b/src/window.py @@ -876,7 +876,7 @@ class Input(Win): with g_lock: self.clear_text() self.addstr(self.text[self.line_pos:self.line_pos+self.width-1]) - # self.win.chgat(0, self.pos, 1, curses.A_REVERSE) + self.addstr(0, self.pos, '') # WTF, this works but .move() doesn't... self._refresh() def refresh(self): @@ -891,9 +891,7 @@ class Input(Win): """ move the cursor at the current pos """ - from common import debug - debug('ALLO') - self._win.move(0, self.pos) + return class VerticalSeparator(Win): """ -- cgit v1.2.3