diff options
-rw-r--r-- | ranger/container/keybuffer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/keybuffer.py b/ranger/container/keybuffer.py index 0f19a341..23b82a16 100644 --- a/ranger/container/keybuffer.py +++ b/ranger/container/keybuffer.py @@ -21,7 +21,7 @@ from ranger.ext.keybinding_parser import parse_keybinding, \ from ranger.container.keymap import Binding, KeyMap # mainly for assertions MAX_ALIAS_RECURSION = 20 -digitlist = [ord(n) for n in digits] +digitlist = set(ord(n) for n in digits) class KeyBuffer(object): """The evaluator and storage for pressed keys""" |