summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/curses_shortcuts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/curses_shortcuts.py b/ranger/gui/curses_shortcuts.py
index 14f1e0e4..b9fcbaf5 100644
--- a/ranger/gui/curses_shortcuts.py
+++ b/ranger/gui/curses_shortcuts.py
@@ -14,7 +14,7 @@ REVERSE_ADDCH_ARGS = sys.version[0:5] == '3.4.0'
 
 def _fix_surrogates(args):
     return [isinstance(arg, str) and arg.encode('utf-8', 'surrogateescape')
-            .decode('utf-8', 'replace') or arg for arg in args]
+            .decode('utf-8', 'replace').replace('\u0000', '') or arg for arg in args]
 
 
 class CursesShortcuts(SettingsAware):
kartik/mu/blame/baremetal/README.md?h=hlt&id=0e0b0c6edbe198d42725f03b6e83e75ea22f5429'>^
0e0b0c6e ^


bcb656a7 ^

cfd914b0 ^



0e0b0c6e ^
cfd914b0 ^
98eb9bdd ^
1383e7c7 ^
0e0b0c6e ^
cfd914b0 ^
0e0b0c6e ^







cfd914b0 ^
3844651e ^
21bddb2e ^



cfd914b0 ^

1383e7c7 ^
55bdc910 ^
3d6c6e52 ^


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