summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-01 21:35:48 +0200
committerhut <hut@lavabit.com>2010-10-01 21:35:48 +0200
commit2d98e85fddaefbc6074336d7d90925f7f7f936b0 (patch)
tree17d299068adeb83920032d643fb723e6f8bd34df /ranger
parent473daebb6870a54fe4b47529e77be698a2edfdb3 (diff)
downloadranger-2d98e85fddaefbc6074336d7d90925f7f7f936b0.tar.gz
gui.ui: Disable mouse when console is open
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index b0c1a352..2f27f11e 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -123,8 +123,8 @@ class UI(DisplayableContainer):
 			event = MouseEvent(curses.getmouse())
 		except _curses.error:
 			return
-
-		DisplayableContainer.click(self, event)
+		if not self.console.visible:
+			DisplayableContainer.click(self, event)
 
 	def handle_key(self, key):
 		"""Handles key input"""
t; 2021-06-04 17:16:51 +0300 committer GitHub <noreply@github.com> 2021-06-04 16:16:51 +0200 follow-up #18013 - inline syntax highlighting (#18166)' href='/ahoang/Nim/commit/doc/tools.rst?h=devel&id=7e21218a07f919d56cd0974c657aefb11574da26'>7e21218a0 ^
6b3c46fbd ^
c4ba4f06f ^
7e21218a0 ^
0cae8ef2c ^
d9d5aa60b ^

c4ba4f06f ^
3ea644690 ^
765366c1f ^
c4ba4f06f ^
eb087b354 ^

c4ba4f06f ^
3ea644690 ^
eb087b354 ^

7e21218a0 ^
eb087b354 ^
fbd7fe118 ^
c4ba4f06f ^
7e21218a0 ^
fbd7fe118 ^

c4ba4f06f ^
0cae8ef2c ^
fbd7fe118 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42