diff options
-rw-r--r-- | ranger/fm.py | 2 | ||||
-rw-r--r-- | ranger/gui/defaultui.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ranger/fm.py b/ranger/fm.py index a8db3b93..186694e5 100644 --- a/ranger/fm.py +++ b/ranger/fm.py @@ -63,6 +63,8 @@ class FM(Actions): try: self.bookmarks.update_if_outdated() self.ui.redraw() + if self.loader.has_work() and hasattr(self.ui, 'throbber'): + self.ui.throbber(self.loader.status) self.ui.set_load_mode(self.loader.has_work()) self.loader.work() diff --git a/ranger/gui/defaultui.py b/ranger/gui/defaultui.py index a031f93c..f75c3915 100644 --- a/ranger/gui/defaultui.py +++ b/ranger/gui/defaultui.py @@ -62,3 +62,6 @@ class DefaultUI(UI): def scroll(self, relative): if self.main_filelist: self.main_filelist.scroll(relative) + + def throbber(self, string): + self.win.addnstr(0, self.env.termsize[1]-1, string, 1) |