Cycle through the console layout options.
(self)
| 127 | |
| 128 | @command.command("console.layout.cycle") |
| 129 | def layout_cycle(self) -> None: |
| 130 | """ |
| 131 | Cycle through the console layout options. |
| 132 | """ |
| 133 | opts = self.layout_options() |
| 134 | off = self.layout_options().index(ctx.options.console_layout) |
| 135 | ctx.options.update(console_layout=opts[(off + 1) % len(opts)]) |
| 136 | |
| 137 | @command.command("console.panes.next") |
| 138 | def panes_next(self) -> None: |
nothing calls this directly
no test coverage detected