private static void CancelLine(String prompt) { EndLine(); if (prompt != null) { Console.Write(prompt); } posn = 0; length = 0; column = 0; lastColumn = 0; historyPosn = -1; }