about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-14 20:00:24 +0200
committerhut <hut@lavabit.com>2012-08-14 20:00:24 +0200
commit731f72dd2bb6976998d3c1588807fc3a654d06cc (patch)
tree5bb93a78b03452547d3a3ac047f2fa37a619a592
parent4c1bfd6bb30008545b9e7a8e9c3bf2c81e50f135 (diff)
downloadranger-731f72dd2bb6976998d3c1588807fc3a654d06cc.tar.gz
widgets.browsercolumn: Catch a "wmove() returned ERR" exception
-rw-r--r--ranger/gui/widgets/browsercolumn.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 1cb943d2..981dd8fb 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -97,7 +97,10 @@ class BrowserColumn(Pager):
 		Example:
 		execute_curses_batch(0, [["hello ", 0], ["world", curses.A_BOLD]])
 		"""
-		self.win.move(line, 0)
+		try:
+			self.win.move(line, 0)
+		except:
+			return
 		for entry in commands:
 			text, attr = entry
 			self.addstr(text, attr)
<vc@akkartik.com> 2016-10-20 00:37:24 -0700 3524' href='/akkartik/mu/commit/html/http-client.mu.html?h=hlt&id=d059fe743df6a5e8a72fc1418f2c3ba1ed5ac1e6'>d059fe74 ^
e5c11a51 ^






















d059fe74 ^


e5c11a51 ^
d059fe74 ^
204dae92 ^



201458e3 ^
204dae92 ^
201458e3 ^
204dae92 ^






201458e3 ^
204dae92 ^





d059fe74 ^



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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81