TerminalView

public class TerminalView : View, TerminalDelegate

The terminal captures almost all input, if you want to send a command to the toolkit, you can use Control-Q which will quote the next keystroke, and will instead be prcessed by TermKit.

  • Declaration

    Swift

    public func send(source: Terminal, data: ArraySlice<UInt8>)
  • Undocumented

    Declaration

    Swift

    public var terminalDelegate: TerminalViewDelegate?
  • Declaration

    Swift

    public override init()
  • Declaration

    Swift

    public override var frame: Rect { get set }
  • Sends data to the terminal emulator for interpretation, this can be invoked from a background thread

    Declaration

    Swift

    public func feed(text: String)
  • Sends data to the terminal emulator for interpretation, this can be invoked from a background thread

    Declaration

    Swift

    public func feed(byteArray: ArraySlice<UInt8>)
  • Undocumented

    Declaration

    Swift

    public func send(_ data: ArraySlice<UInt8>)
  • Declaration

    Swift

    public override func redraw(region: Rect, painter: Painter)
  • Declaration

    Swift

    public override func processKey(event: KeyEvent) -> Bool
  • Declaration

    Swift

    public override func positionCursor()