private void DisplayMenu() { _inputOutput.Clear(); _inputOutput.WriteLine("Select mode:"); _inputOutput.WriteLine("1) Display negative words count"); _inputOutput.WriteLine("2) Filter negative words"); _inputOutput.WriteLine("3) Display original text"); _inputOutput.WriteLine("Any other - exit"); }
public void PrintHeader() { io.Clear(start, (start.x + whidth, start.y + height)); io.CursorPosition = start; io.Print(page.Header + Environment.NewLine); }
public IApplicationState PlayAgain() { _io.WriteLine(Settings.Default.PlayAgainQuestion); var result = PlayAgain(_io.ReadLine()); _io.Clear(); if (result) { return(new ApplicationStatePlay(_dockingSystem, _io, _printOptions)); } return(new ApplicationStateStop()); }
private void ClearTerminal() => io.Clear(start, (start.x + whidth, start.y + height));