def focus_next(self, count=<NUM_LIT:1>):
panes = self.panes<EOL>if panes:<EOL><INDENT>self.active_pane = panes[(panes.index(self.active_pane) + count) % len(panes)]<EOL><DEDENT>else:<EOL><INDENT>self.active_pane = None<EOL><DEDENT>
Focus the next pane.