diff options
author | hut <hut@lavabit.com> | 2010-04-15 17:20:44 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-15 17:20:44 +0200 |
commit | c2f737e0b343667bacd3edf6be37ec94e834fd65 (patch) | |
tree | cee281d3831dc2878631abfbec435978a14a4096 /ranger/gui/defaultui.py | |
parent | 353820f392ee88ed02643e7bce79dadc3933d4c9 (diff) | |
download | ranger-c2f737e0b343667bacd3edf6be37ec94e834fd65.tar.gz |
widgets.console: added "prompt" keyword argument for console.open()
Diffstat (limited to 'ranger/gui/defaultui.py')
-rw-r--r-- | ranger/gui/defaultui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/defaultui.py b/ranger/gui/defaultui.py index 08e0b204..a0a5da4e 100644 --- a/ranger/gui/defaultui.py +++ b/ranger/gui/defaultui.py @@ -93,8 +93,8 @@ class DefaultUI(UI): def close_embedded_pager(self): self.browser.close_pager() - def open_console(self, mode, string=''): - if self.console.open(mode, string): + def open_console(self, mode, string='', prompt=None): + if self.console.open(mode, string, prompt=prompt): self.status.msg = None self.console.on_close = self.close_console self.console.visible = True |