diff options
author | seebye <seebye@users.noreply.github.com> | 2018-08-28 21:22:39 +0200 |
---|---|---|
committer | seebye <seebye@users.noreply.github.com> | 2018-08-28 21:22:39 +0200 |
commit | 87727172c18f7a3610137dfb89662964477333a5 (patch) | |
tree | d79ab7e2304f77fe036b68ded82bfc9f70f0cb35 | |
parent | aa3033c287aa461a161782c07d508b946eac5ed7 (diff) | |
download | ranger-87727172c18f7a3610137dfb89662964477333a5.tar.gz |
quit image displayer on suspending ui
-rw-r--r-- | ranger/gui/ui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index 4f76dfab..9a326956 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -136,6 +136,9 @@ class UI( # pylint: disable=too-many-instance-attributes,too-many-public-method self.vcsthread.pause() self.vcsthread.paused.wait() + if self.fm.image_displayer: + self.fm.image_displayer.quit() + self.win.keypad(0) curses.nocbreak() curses.echo() |