about summary refs log tree commit diff stats
path: root/code/help.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-16 02:42:01 +0200
committerhut <hut@lavabit.com>2009-07-16 02:42:01 +0200
commit7407bde0436f5c921f70ac22cdd966cbd318288c (patch)
treed5f6cbc1143d6101d9ab6612a74aa3b755c843bb /code/help.rb
parentbd7c8105e8ae842210713a41187af608bdcf1f9c (diff)
downloadranger-7407bde0436f5c921f70ac22cdd966cbd318288c.tar.gz
allow to add comments in help definitions
Diffstat (limited to 'code/help.rb')
-rw-r--r--code/help.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/code/help.rb b/code/help.rb
index d57d492c..e07d8d0a 100644
--- a/code/help.rb
+++ b/code/help.rb
@@ -42,6 +42,7 @@ module Fm
 	if clicked inside the preview column, you cd into the selection if
 	it is a folder or run the selection in mode 0 if its a file.
 
+#	Left click on the adress bar: Go to the pointed directory.
 
 
 
@@ -263,7 +264,7 @@ END
 		helptext.gsub("\t", "   ").each_line do |l|
 			if l =~ /^\s*key:(.*)$/
 				current = hash[$1] = ""
-			elsif current
+			elsif current and l !~ /^#/
 				current << l
 			end
 		end
a300d86d1ddbfa5'>^
a0de7f95 ^
9f55a155 ^
bd627dc4 ^
2887ca25 ^
a0de7f95 ^
bd627dc4 ^
a0de7f95 ^
bd627dc4 ^
a0de7f95 ^


2887ca25 ^


a0de7f95 ^


bd627dc4 ^
a0de7f95 ^
bd627dc4 ^
a0de7f95 ^



bd627dc4 ^

a0de7f95 ^







bd627dc4 ^

a0de7f95 ^
bd627dc4 ^

2887ca25 ^




a0de7f95 ^


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