TerminalView

public class TerminalView : NSView, NSTextInputClient, NSUserInterfaceValidations
extension TerminalView: TerminalDelegate

TerminalView provides an AppKit 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.