public static void Display(IntPtr sctp, string message) { Size Size = ScpCommands.InitDisplay(sctp); string[] Strings = (message + new string('\n', Size.Height)).Split('\n'); ScpCommands.HideCursor(sctp); for (byte RowIndex = 0; RowIndex < Size.Height; RowIndex++) { string Message = Strings[RowIndex]; Message.PadRight(Size.Width, ' '); ScpCommands.Display(sctp, RowIndex, Message); } }
public static void ClearDisplay(IntPtr sctp) { ScpCommands.HideCursor(sctp); }