klyn.gui.windows.TerminalView.TerminalView
constructor

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

Description

Creates and starts a terminal.

Parameters

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.

Example

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