diff options
Diffstat (limited to 'ranger/gui/widgets/notify.py')
-rw-r--r-- | ranger/gui/widgets/notify.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ranger/gui/widgets/notify.py b/ranger/gui/widgets/notify.py index ea35700f..e3f972ee 100644 --- a/ranger/gui/widgets/notify.py +++ b/ranger/gui/widgets/notify.py @@ -23,7 +23,6 @@ class Notify(Widget): def draw(self): import curses, socket, os - self.win.move(self.y, self.x) i = 0 for msg in self.textcontainer: @@ -31,10 +30,10 @@ class Notify(Widget): break how = msg.bad and 'bad' or 'good' - self.color_at(self.y + i, self.x, self.wid,\ + self.color_at(i, 0, self.wid,\ 'in_notify', 'background', how) self.color('in_notify', 'message', how) - self.win.addnstr(self.y + i, self.x, msg.text, self.wid) + self.win.addnstr(i, 0, msg.text, self.wid) i += 1 self.color_reset() |