SSH Terminal View - TJohn2017/Laputa GitHub Wiki
Main functions used:
This function prints out all the information onto the terminal including, user input, prompts, command outputs, and bytes to show vim window. didReadData message is the bytes that the SSH connection received. We receive all the bytes that are printed onto the terminal.
Part of TerminalViewDelegate protocol. Called every time we change the size of the terminal view in SSHTerminalViewController.swift. Tell the underlying terminal view in SwiftTerm the newly resized dimensions.
Part of TerminalViewDelegate protocol. Sends the data written into the pseudo terminal to the SSH connection channel.
Checks if the current SSH session is connected.