summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/options.py2
-rw-r--r--ranger/gui/ui.py2
-rw-r--r--ranger/shared/settings.py2
3 files changed, 4 insertions, 2 deletions
diff --git a/ranger/defaults/options.py b/ranger/defaults/options.py
index 71b4cad2..1f564eb0 100644
--- a/ranger/defaults/options.py
+++ b/ranger/defaults/options.py
@@ -22,4 +22,6 @@ collapse_preview = True
 autosave_bookmarks = True
 update_title = True
 
+show_cursor = False
+
 hidden_filter = regexp(r'^\.|~$|\.(:?pyc|pyo|bak|swp)$')
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 56acfff1..6944284f 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -51,7 +51,7 @@ class UI(DisplayableContainer):
 		curses.cbreak()
 		curses.noecho()
 		curses.halfdelay(20)
-		curses.curs_set(0)
+		curses.curs_set(int(bool(self.settings.show_cursor)))
 		curses.start_color()
 		curses.use_default_colors()
 
diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py
index d5ef3be5..4ae97e03 100644
--- a/ranger/shared/settings.py
+++ b/ranger/shared/settings.py
@@ -13,7 +13,7 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ALLOWED_SETTINGS = """
-show_hidden scroll_offset
+show_hidden scroll_offset show_cursor
 directories_first sort reverse
 preview_files max_history_size colorscheme
 collapse_preview update_title
Added boolean settings for plugins' href='/danisanti/profani-tty/commit/src/plugins/settings.c?id=a4e6d50a4016fa025f72bf42d3da2d4fe3f4b2dc'>a4e6d50a ^
a3a73cf0 ^
a4e6d50a ^
a3a73cf0 ^

a4e6d50a ^


a3a73cf0 ^
a4e6d50a ^


a3a73cf0 ^

a4e6d50a ^
a3a73cf0 ^
a4e6d50a ^









efeb2fcf ^
a4e6d50a ^








efeb2fcf ^
a4e6d50a ^




e2b02733 ^
efeb2fcf ^
e2b02733 ^










efeb2fcf ^
e2b02733 ^




ce9b0836 ^
efeb2fcf ^
ce9b0836 ^








efeb2fcf ^
ce9b0836 ^




2518aa50 ^
efeb2fcf ^
2518aa50 ^

























b2508be8 ^
efeb2fcf ^
2518aa50 ^

b2508be8 ^
2518aa50 ^



b2508be8 ^

2518aa50 ^

a4e6d50a ^





a3a73cf0 ^



a4e6d50a ^


a3a73cf0 ^

a4e6d50a ^
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
177
178
179
180
181
182
183
184
185
186