summary refs log tree commit diff stats
path: root/ranger/gui/widgets/process_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/gui/widgets/process_manager.py')
-rw-r--r--ranger/gui/widgets/process_manager.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/gui/widgets/process_manager.py b/ranger/gui/widgets/process_manager.py
index a9c44640..138c70c1 100644
--- a/ranger/gui/widgets/process_manager.py
+++ b/ranger/gui/widgets/process_manager.py
@@ -45,6 +45,9 @@ class ProcessManager(Widget, Accumulator):
 		if not self.pointer_is_synced():
 			self.sync_index()
 
+		if self.hei <= 0:
+			return
+
 		self.win.addnstr(self.y, self.x, "Process Manager", self.wid)
 		self.color_at(self.y, self.x, self.wid, base_clr, 'title')
 
='#n123'>123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151