void (@NotNull TerminalWidget widget, boolean forward) { TerminalContainer container = getContainer(widget); if (container != null) { TerminalWidget next = container.getNextSplitTerminal(forward); if (next != null) { next.requestFocus(); } } }