diff options
author | hut <hut@lavabit.com> | 2011-05-20 18:25:01 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-05-20 18:25:01 +0200 |
commit | 43153a6d91459a825e3dcc528cc340abe780d6af (patch) | |
tree | 1ff78e0d54f5471316b08489dced4ed20c8f648a /ranger/defaults/commands.py | |
parent | 71569b7201925274f3a97dd24e8e735f50bc9a53 (diff) | |
download | ranger-43153a6d91459a825e3dcc528cc340abe780d6af.tar.gz |
api.commands: implemented command.cancel()
Diffstat (limited to 'ranger/defaults/commands.py')
-rw-r--r-- | ranger/defaults/commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index e9572d3e..ad3fa0e5 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -19,6 +19,7 @@ This is the default file for command definitions. Each command is a subclass of `Command'. Several methods are defined to interface with the console: execute: call this method when the command is executed. + cancel: call this method when closing the console without executing. tab: call this method when tab is pressed. quick: call this method after each keypress. |