ReadonlypriorityThe priority of this handler. Higher values are consulted first.
Defaults to 0 if not specified.
Protected ReadonlyshellProtected ReadonlyterminalCalled when a terminal is about to be placed in the shell.
The handler may take ownership of the terminal (e.g. add it to a custom container)
by returning true. In that case, the default shell placement will be skipped.
The terminal widget to be placed.
Optionaloptions: WidgetOpenerOptions
The opener options, if any.
true if this handler claimed the terminal, false or undefined otherwise.
Default TerminalCreationHandler that places terminals into the application shell. This handles the standard panel/editor/split placement logic and always claims the terminal (returning
true).Because it always claims, it should run at the lowest priority so that other handlers (e.g. the terminal manager) get a chance to intercept first.