diff --git a/application.py b/application.py index c9acbd2..41be39e 100755 --- a/application.py +++ b/application.py @@ -638,7 +638,7 @@ class Application(object): switch_to = switch(status) else: switch_to = bool(switch) - self.data_buffer(name, output, switch_to=switch_to, modename=None) + self.data_buffer(name, output, switch_to=switch_to, modename=modename) return status def run_external(self, *args): curses.reset_shell_mode()