klyn.gui.windows.TerminalWidget.TerminalWidget
constructor

    public TerminalWidget(command as String = "", cwd as String = "", terminalFont as String = "", fontSize as Int = 15):

Description

Creates a terminal tab container and opens the first tab.

Parameters

Parameter | Description
--- | ---
`command` | Optional shell command. Empty uses the platform default.
`cwd` | Optional startup directory. Empty uses `Path.cwd`.
`terminalFont` | Optional font specification.
`fontSize` | Font size used by terminal sessions.

Example

    terminal = TerminalWidget(command="/bin/bash", cwd=Path.cwd.toString())