public BreadcrumbElement(Action activationHandler) { this.CanFocus = true; this.KeyInputReceived.SubscribeForLifetime((key) => { if (key.Key == ConsoleKey.Enter) { activationHandler(); } }, this.LifetimeManager); }