diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-11 15:16:15 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-11 15:47:46 +0000 |
commit | 07e9fec4272f2bffabee541f161f88e7fcd082cc (patch) | |
tree | eaf26d07f1c24c057a76acc62504d5f9cdf1fc8e /alot/commands/globals.py | |
parent | a88cfb0651df5cc93ff9f65c249fcb639660570c (diff) |
pep8 fixes
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index f118428b..05809c83 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -93,12 +93,10 @@ class PromptCommand(Command): def apply(self, ui): logging.info('open command shell') mode = ui.current_buffer.modename + cmpl = CommandLineCompleter(ui.dbman, mode, ui.current_buffer,), cmdline = yield ui.prompt('', text=self.startwith, - completer=CommandLineCompleter(ui.dbman, - mode, - ui.current_buffer, - ), + completer=cmpl, history=ui.commandprompthistory, ) logging.debug('CMDLINE: %s' % cmdline) |