summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-27 04:36:08 +0100
committerhut <hut@lavabit.com>2010-03-27 04:36:08 +0100
commitf7db061bba50fa5a01e34fa7764e36b2646f8a3a (patch)
treeb62db95d20e259d0e876e9511b6425850288f190 /ranger
parent8895b1301b0f32a3627225810441496a3e7cb211 (diff)
downloadranger-f7db061bba50fa5a01e34fa7764e36b2646f8a3a.tar.gz
closed #73, reason was it didn't move and coords didnt get updated
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/displayable.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index ceefb3f1..88a78b37 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -72,6 +72,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 		self.hei = 0
 		self.paryx = (0, 0)
 		self.parent = None
+		self.fresh = True
 
 		self._old_visible = self.visible
 
@@ -154,7 +155,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 
 	def resize(self, y, x, hei=None, wid=None):
 		"""Resize the widget"""
-		do_move = False
+		do_move = self.fresh
 		try:
 			maxy, maxx = self.env.termsize
 		except TypeError:
@@ -212,6 +213,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 			except:
 				pass
 
+			self.fresh = False
 			self.paryx = self.win.getparyx()
 			self.y, self.x = self.paryx
 			if self.parent:
f'>^
d44123ca ^
90560d71 ^

672e3e50 ^

















9570363a ^
672e3e50 ^





9570363a ^


672e3e50 ^

9570363a ^

672e3e50 ^
c5ffb6e1 ^

9570363a ^

c5ffb6e1 ^
9570363a ^


672e3e50 ^




90560d71 ^
d5d908dd ^
90560d71 ^
672e3e50 ^
d5d908dd ^
c5ffb6e1 ^



672e3e50 ^
90560d71 ^
672e3e50 ^

90560d71 ^
672e3e50 ^

d5d908dd ^
90560d71 ^

672e3e50 ^

d5d908dd ^
65361948 ^
672e3e50 ^




c5ffb6e1 ^
90560d71 ^
65361948 ^

672e3e50 ^

90560d71 ^
65361948 ^

672e3e50 ^

90560d71 ^
65361948 ^

672e3e50 ^


90560d71 ^
672e3e50 ^
90560d71 ^
4fe9f5e8 ^



672e3e50 ^
65361948 ^
90560d71 ^
c5ffb6e1 ^

672e3e50 ^


4fe9f5e8 ^









90560d71 ^
4fe9f5e8 ^


672e3e50 ^


90560d71 ^
672e3e50 ^


90560d71 ^
65361948 ^

672e3e50 ^




90560d71 ^
d5d908dd ^
c5ffb6e1 ^
65361948 ^
90560d71 ^
d5d908dd ^
83fcebf3 ^
672e3e50 ^




90560d71 ^
672e3e50 ^



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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176