namespace DodoSSH.Client.Android.Views; /// /// One keystroke's worth of bytes, on its way from to the shell. /// /// /// Bytes rather than text, because half of what a terminal receives has no text form: a cursor key is an /// escape sequence and Ctrl-C is a single byte below the printable range. Encoding at the surface — where /// the key is still known — rather than downstream is what keeps the send path from having to guess which /// kind it was handed. /// /// The encoded keystroke. internal sealed class TerminalInputEventArgs(byte[] bytes) : EventArgs { public byte[] Bytes { get; } = bytes; }