TerminalOptions
public struct TerminalOptions
Configuration options for the terminal at startup, these values are only read at startup
-
Desired number of columns at startup (default 80)
Declaration
Swift
public var cols: Int -
Desired number of rows at startup (default 25)
Declaration
Swift
public var rows: Int -
Controls whether a Line-Feed character will also behave like a carriage return (true) or not (false). defaults to true)
Declaration
Swift
public var convertEol: Bool -
Desired value for the terminal name, defaults to xterm-color
Declaration
Swift
public var termName: String -
The desired startup cursor style, this merely sets an internal variable, it is the view job to render it
Declaration
Swift
public var cursorStyle: CursorStyle -
Deprecated? The new accessibility work will make this useless
Declaration
Swift
public var screenReaderMode: Bool -
Size of the scrollback buffer, defaults to 500 lines
Declaration
Swift
public var scrollback: Int -
Default size of the tabs, defaults to 8
Declaration
Swift
public var tabStopWidth: Int -
Undocumented
Declaration
Swift
public init(cols: Int = 80, rows: Int = 25, convertEol: Bool = true, termName: String = "xterm-color", cursorStyle: CursorStyle = CursorStyle.blinkBlock, screenReaderMode: Bool = false, scrollback: Int = 500, tabStopWidth: Int = 8)
View on GitHub
Install in Dash
TerminalOptions Structure Reference