Skip to content

Interface ITerminalProgram

A terminal program running inside the Unity process: a ported curses style app, a game console, or a scripted sequence. It reads input bytes and writes ANSI output, the same contract a remote host has.

Declaration
public interface ITerminalProgram
Declaration
void Start(IProgramHost host)
Type Name
DarkEffekt.Terminal.IProgramHost host
Declaration
void OnInput(byte[] data)
Type Name
System.Byte[] data
Declaration
void OnResize(int cols, int rows)
Type Name
System.Int32 cols
System.Int32 rows
Declaration
void Stop()