public TerminalView(command as String = "", cwd as String = "", terminalFont as String = "", fontSize as Int = 14)
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 in pixels; columns use the renderer's measured advance. |
terminal = TerminalView(command="/bin/bash", cwd=Path.cwd.toString())