From 87727172c18f7a3610137dfb89662964477333a5 Mon Sep 17 00:00:00 2001 From: seebye Date: Tue, 28 Aug 2018 21:22:39 +0200 Subject: quit image displayer on suspending ui --- ranger/gui/ui.py | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit 1.4.1-2-gfad0