瀏覽代碼

Fixes #1917. Sometimes the Clipboard.IsSupported property doesn't return the correct value. (#1918)

BDisp 3 年之前
父節點
當前提交
a713ae5f73
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Core/Clipboard/Clipboard.cs

+ 1 - 1
Terminal.Gui/Core/Clipboard/Clipboard.cs

@@ -38,7 +38,7 @@ namespace Terminal.Gui {
 		/// <summary>
 		/// Returns true if the environmental dependencies are in place to interact with the OS clipboard.
 		/// </summary>
-		public static bool IsSupported { get; } = Application.Driver.Clipboard.IsSupported;
+		public static bool IsSupported { get => Application.Driver.Clipboard.IsSupported; }
 
 		/// <summary>
 		/// Gets the operation system clipboard if possible.