From 154c621364ced5a447173cf42b4c79cf95cc808f Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 11 Oct 2011 18:06:44 +0200 Subject: ext.keybinding_parser: prettier KeyBuffer.__str__ --- ranger/ext/keybinding_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/ext/keybinding_parser.py b/ranger/ext/keybinding_parser.py index 702cd90e..669ebc3b 100644 --- a/ranger/ext/keybinding_parser.py +++ b/ranger/ext/keybinding_parser.py @@ -262,4 +262,4 @@ class KeyBuffer(object): self.parse_error = True def __str__(self): - return "".join("{0:c}".format(c) for c in self.keys) + return "".join(key_to_string(c) for c in self.keys) -- cgit 1.4.1-2-gfad0