diff options
author | hut <hut@lavabit.com> | 2010-04-16 16:12:47 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-16 16:12:47 +0200 |
commit | 2c9557d5164b0e31b9f7c1a36c0ac8bf8f002944 (patch) | |
tree | 1b610d2c20caf8ce5adf9bd7ac19c1d599fa0593 /ranger | |
parent | dd6527f254cdb072f5fb7053b166ee4593265193 (diff) | |
download | ranger-2c9557d5164b0e31b9f7c1a36c0ac8bf8f002944.tar.gz |
keymap: moved simulate_press to where it belongs: tc_newkeys
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/keymap.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ranger/container/keymap.py b/ranger/container/keymap.py index ab87ae36..b718c2a7 100644 --- a/ranger/container/keymap.py +++ b/ranger/container/keymap.py @@ -313,12 +313,3 @@ class KeyBuffer(object): def __str__(self): """returns a concatenation of all characters""" return "".join(to_string(c) for c in self.all_keys) - - def simulate_press(self, string): - for char in parse_keybinding(string): - self.add(char) - if self.done: - return self.command - if self.failure: - break - return self.command |