internal void Run() { while (true) { forumViewer.Mark(menuController.CurrentLabel); var keyInfo = Console.ReadKey(true); var key = keyInfo.Key; forumViewer.Mark(menuController.CurrentLabel, false); switch (key) { case ConsoleKey.Backspace: case ConsoleKey.Escape: menuController.Back(); break; case ConsoleKey.Home: break; case ConsoleKey.LeftArrow: case ConsoleKey.UpArrow: menuController.PreviousOption(); break; case ConsoleKey.Tab: case ConsoleKey.RightArrow: case ConsoleKey.DownArrow: menuController.NextOption(); break; case ConsoleKey.Enter: menuController.ExecuteCommand(); break; } } }