Set focus to the next flow.
(self)
| 278 | |
| 279 | @command.command("view.focus.next") |
| 280 | def focus_next(self) -> None: |
| 281 | """ |
| 282 | Set focus to the next flow. |
| 283 | """ |
| 284 | if self.focus.index is not None: |
| 285 | idx = self.focus.index + 1 |
| 286 | if self.inbounds(idx): |
| 287 | self.focus.flow = self[idx] |
| 288 | else: |
| 289 | pass |
| 290 | |
| 291 | @command.command("view.focus.prev") |
| 292 | def focus_prev(self) -> None: |