Browse Source

This is a constant

Brandon Thetford 1 year ago
parent
commit
278af5a55a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Terminal.Gui/ConsoleDrivers/EscSeqUtils/EscSeqUtils.cs

+ 2 - 2
Terminal.Gui/ConsoleDrivers/EscSeqUtils/EscSeqUtils.cs

@@ -1,4 +1,4 @@
-using System.Diagnostics;
+using System.Diagnostics;
 using System.Management;
 using System.Management;
 using System.Runtime.InteropServices;
 using System.Runtime.InteropServices;
 
 
@@ -44,7 +44,7 @@ public static class EscSeqUtils
     /// <summary>
     /// <summary>
     ///     Escape key code (ASCII 27/0x1B).
     ///     Escape key code (ASCII 27/0x1B).
     /// </summary>
     /// </summary>
-    public static readonly char KeyEsc = (char)KeyCode.Esc;
+    public const char KeyEsc = (char)KeyCode.Esc;
 
 
     /// <summary>
     /// <summary>
     ///     ESC [ - The CSI (Control Sequence Introducer).
     ///     ESC [ - The CSI (Control Sequence Introducer).