public TerminalView(command as String = "", cwd as String = "", terminalFont as String = "", fontSize as Int = 15):
Creates and starts a terminal.
| Parameter | Description |
|---|---|
command | Optional shell command. Empty uses the platform default. |
cwd | Optional working directory. Empty uses Path.cwd. |
terminalFont | Optional font specification such as 16px Consolas, monospace. |
fontSize | Font size used to estimate terminal rows and columns. |
terminal = TerminalView(command="/bin/bash", cwd=Path.cwd.toString())