TerminalView
TerminalView provides an UIKit front-end to the Terminal
termininal emulator.
It is up to a subclass to either wire the terminal emulator to a remote terminal
via some socket, to an application that wants to run with terminal emulation, or
wiring this up to a pseudo-terminal.
Users are notified of interesting events in their implementation of the TerminalViewDelegate
methods - an instance must be provided to the constructor of TerminalView
.
Call the getTerminal
method to get a reference to the underlying Terminal
that backs this
view.
Use the configureNativeColors()
to set the defaults colors for the view to match the OS
defaults, otherwise, this uses its own set of defaults colors.
-
The delegate that the TerminalView uses to interact with its hosting
-
The font to use to render the terminal
-
-
-
-
This controls whether the backspace should send ^? or ^H, the default is ^?
-
You can set this property to a UIView to be your input accessory, by default this is an instance of
TerminalAccessory
-
You can set this property to a UIView to be your input accessory, by default this is an instance of
TerminalAccessory
-
This will set the native foreground color to the specified native color (UIColor or NSColor) and will have this reflected into the underlying’s terminal
foregroundColor
andbackgroundColor
-
This will set the native foreground color to the specified native color (UIColor or NSColor) and will have this reflected into the underlying’s terminal
foregroundColor
andbackgroundColor
-
Controls the color for the caret
-
The color used to render the selection
-
-
-
Given the current set of columns and rows returns a frame that would host this control.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-