def toggle_cmdline_focus(w, size, key):
    self.columns.set_focus(self.lhs_col)
    if (self.lhs_col.get_focus() is self.cmdline_sigwrap):
        if CONFIG['hide_cmdline_win']:
            self.set_cmdline_state(False)
        self.lhs_col.set_focus((self.search_controller.search_AttrMap if self.search_controller.search_box else self.source_attr))
    else:
        if CONFIG['hide_cmdline_win']:
            self.set_cmdline_state(True)
        self.cmdline_pile.set_focus(self.cmdline_edit_bar)
        self.lhs_col.set_focus(self.cmdline_sigwrap)
def toggle_cmdline_focus(w, size, key):
    self.columns.set_focus(self.lhs_col)
    if (self.lhs_col.get_focus() is self.cmdline_sigwrap):
        if CONFIG['hide_cmdline_win']:
            self.set_cmdline_state(False)
        self.lhs_col.set_focus((self.search_controller.search_AttrMap if self.search_controller.search_box else self.source_attr))
    else:
        if CONFIG['hide_cmdline_win']:
            self.set_cmdline_state(True)
        self.cmdline_pile.set_focus(self.cmdline_edit_bar)
        self.lhs_col.set_focus(self.cmdline_sigwrap)