about summary refs log tree commit diff stats
path: root/code/fm
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-15 20:00:29 +0200
committerhut <hut@lavabit.com>2009-06-15 20:00:29 +0200
commit3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3 (patch)
treec6658572bbe658ebe53a1effe746090a3f71f567 /code/fm
parentcecde3a6c41e529d74615de0ced0b4f34d87caa9 (diff)
downloadranger-3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3.tar.gz
temporarily disabled preview of archives
Diffstat (limited to 'code/fm')
-rw-r--r--code/fm/draw.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fm/draw.rb b/code/fm/draw.rb
index f326ab23..482abf59 100644
--- a/code/fm/draw.rb
+++ b/code/fm/draw.rb
@@ -9,7 +9,7 @@ module Fm
 			m = lines - 2
 			attr_set(Color.base)
 			left, wid = get_boundaries(n)
-			if file.ext =~ /(?:rar|zip|7z|tar|gz)$/ and file.size < 10485760
+			if false and file.ext =~ /(?:rar|zip|7z|tar|gz)$/ and file.size < 10485760
 				text = `aunpack -l #{file.sh} 2>> /dev/null`
 				text.each_line do |l|
 					puti i+1, left, l[0, wid-1].ljust(wid)
p;id=dbe124108b7a3529feeeba91339928c4ac737072'>dbe12410 ^
c5ffb6e1 ^
d44123ca ^
c5ffb6e1 ^

























































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