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.
Assembly: DarkEffekt.Terminal.Core
Section titled “Assembly: DarkEffekt.Terminal.Core”public interface ITerminalProgramMethods
Section titled “Methods”Start(IProgramHost)
Section titled “Start(IProgramHost)”void Start(IProgramHost host)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.IProgramHost | host |
OnInput(byte[])
Section titled “OnInput(byte[])”void OnInput(byte[] data)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Byte[] |
data |
OnResize(int, int)
Section titled “OnResize(int, int)”void OnResize(int cols, int rows)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
cols |
System.Int32 |
rows |
Stop()
Section titled “Stop()”void Stop()