public ConsoleControl()
{
CanFocus = true;
Background = Theme.DefaultTheme.BackgroundColor;
this.Foreground = Theme.DefaultTheme.ForegroundColor;
this.IsVisible = true;
this.SubscribeForLifetime(ObservableObject.AnyProperty,()=> { Application?.Paint(); }, this.LifetimeManager);
}