public property singleTerminal as Boolean:
When true, the widget exposes exactly one terminal and hides the tab bar.
The default is false: users can add as many terminal tabs as they need through the leading + button. Enabling singleTerminal closes any extra tabs and makes the remaining terminal fill the full widget.
terminal = TerminalWidget() terminal.singleTerminal = true