Просмотр исходного кода

Added Application.UseSystemConsole setting

Tigger Kindel 1 год назад
Родитель
Сommit
83923d2f6e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Terminal.Gui/Application.cs

+ 1 - 0
Terminal.Gui/Application.cs

@@ -50,6 +50,7 @@ namespace Terminal.Gui {
 		/// <summary>
 		/// If <see langword="true"/>, forces the use of the System.Console-based (see <see cref="NetDriver"/>) driver. The default is <see langword="false"/>.
 		/// </summary>
+		[SerializableConfigurationProperty (Scope = typeof (SettingsScope))]
 		public static bool UseSystemConsole { get; set; } = false;
 
 		// For Unit testing - ignores UseSystemConsole