public virtual void HandleKeypress(ConsoleKeyInfo key) { if (key.Key == ConsoleKey.Tab) { HandleControlGotLostFocus(true); CycleControl(key.Modifiers.HasFlag(ConsoleModifiers.Shift) ? -1 : 1); HandleControlGotLostFocus(false); } ActiveControl?.HandleKeypress(key); UpdateRenderRequested(this, new EventArgs()); }